You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/sql/Union/2. Write a query to display...

6 lines
166 B
MySQL

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