programming-examples/sql/Union/1. Write a query to display all salesmen and customer located in London.sql
2019-11-18 14:05:53 +01:00

8 lines
258 B
SQL

/*1. Write a query to display all salesmen and customer located in London.*/
SELECT salesman_id, name
FROM salesman
WHERE city='London'
UNION
SELECT customer_id, cust_name
FROM customer
WHERE city='London';