SQL Subquery Exercises: Display the commission of all the salesmen servicing customers in Paris
SQL SUBQUERY : Exercise-6 with Solution
6. Write a query to display the commission of all the salesmen servicing customers in Paris.
Sample table: Salesman
Sample table : Customer
SELECT commission FROM salesman WHERE salesman_id IN (SELECT salesman_id FROM customer WHERE city = 'Paris');
Contribute your code and comments through Disqus.
What is the difficulty level of this exercise?