programming-examples/sql/Subqueries/2. Write a query to display all the orders for the salesman who belongs to the city London.sql
2019-11-18 14:05:53 +01:00

7 lines
224 B
SQL

/*2. Write a query to display all the orders for the salesman who belongs to the city London.*/
SELECT *
FROM orders
WHERE salesman_id =
(SELECT salesman_id
FROM salesman
WHERE city='London');