SQLQUESTIONS Telegram 942
Задача 24

Напишите запрос, чтобы вывести для каждого продавца имена его клиентов, живущих в том же городе, что и продавец. Если у продавца нет таких клиентов, вместо имени клиента вывести NO MATCH.

Верните salesman_id, name, cust_name, commission. Отсортируйте выборку по второму столбцу (т.е. имени продавца) в порядке убывания.

#задача



tgoop.com/sqlquestions/942
Create:
Last Update:

Задача 24

Напишите запрос, чтобы вывести для каждого продавца имена его клиентов, живущих в том же городе, что и продавец. Если у продавца нет таких клиентов, вместо имени клиента вывести NO MATCH.

Верните salesman_id, name, cust_name, commission. Отсортируйте выборку по второму столбцу (т.е. имени продавца) в порядке убывания.

#задача

BY SQL задачи






Share with your friend now:
tgoop.com/sqlquestions/942

View MORE
Open in Telegram


Telegram News

Date: |

Telegram iOS app: In the “Chats” tab, click the new message icon in the right upper corner. Select “New Channel.” A new window will come up. Enter your channel name and bio. (See the character limits above.) Click “Create.” It’s yet another bloodbath on Satoshi Street. As of press time, Bitcoin (BTC) and the broader cryptocurrency market have corrected another 10 percent amid a massive sell-off. Ethereum (EHT) is down a staggering 15 percent moving close to $1,000, down more than 42 percent on the weekly chart. ‘Ban’ on Telegram Hashtags are a fast way to find the correct information on social media. To put your content out there, be sure to add hashtags to each post. We have two intelligent tips to give you:
from us


Telegram SQL задачи
FROM American