programming-examples/sql/Union/2. Write a query to display distinct salesman and their cities.sql
2019-11-18 14:05:53 +01:00

6 lines
166 B
SQL

/*2. Write a query to display distinct salesman and their cities.*/
SELECT salesman_id, city
FROM customer
UNION
SELECT salesman_id, city
FROM salesman;