programming-examples/sql/Subqueries/29. Write a query to find all those customers whose grade are not as the grade, belongs to the city Paris.sql

7 lines
229 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*29. Write a query to find all those customers whose grade are not as the grade, belongs to the city Paris.*/
SELECT *
FROM customer
WHERE grade NOT IN
(SELECT grade
FROM customer
WHERE city='Paris');