programming-examples/sql/Union/3. Write a query to display all the salesmen and customer involved in this inventory management system.sql
2019-11-18 14:05:53 +01:00

6 lines
218 B
SQL

/*3. Write a query to display all the salesmen and customer involved in this inventory management system.*/
SELECT salesman_id, customer_id
FROM customer
UNION
SELECT salesman_id, customer_id
FROM orders;