programming-examples/sql/Subqueries/19. Write a query to find a salesman with customers located in their cities.sql
2019-11-18 14:05:53 +01:00

6 lines
170 B
SQL

/*19. Write a query to find a salesman with customers located in their cities.*/
SELECT *
FROM salesman
WHERE city=ANY
(SELECT city
FROM customer);