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.
8 lines
258 B
MySQL
8 lines
258 B
MySQL
5 years ago
|
/*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';
|