programming-examples/sql/Subqueries/28.Write a query to get all the information for those customers whose grade is not as the grade of customer who belongs to the city London.sql

8 lines
265 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*28.Write a query to get all the information for those customers whose grade is not as the grade of customer who belongs to
the city London.*/
SELECT *
FROM customer
WHERE grade <> ALL
(SELECT grade
FROM customer
WHERE city='London');