programming-examples/sql/Subqueries/26. Write a query to display only those customers whose grade are, in fact, higher than every customer in New York.sql
2019-11-18 14:05:53 +01:00

7 lines
239 B
SQL

/*26. Write a query to display only those customers whose grade are, in fact, higher than every customer in New York.*/
SELECT *
FROM customer
WHERE grade > ALL
(SELECT grade
FROM customer
WHERE city='New York');