KnowledgeBoat Logo
|

Informatics Practices

Consider following tables to answer below question :

Salesman (salesman_id, name, city, commission ) and

Customer (customer_id, cust_name, city, grade, salesman_id )

Write an SQL query to display distinct salesman and their cities.

SQL Joins & Grouping

2 Likes

Answer

SELECT DISTINCT salesman_id, name, city
FROM Salesman;

Answered By

3 Likes


Related Questions