programming-examples/sql/BooleanRelationalOperators/Write a SQL query to display those customers who are neither belongs to the city New York nor grade value is more than 100.sql

4 lines
204 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL query to display those customers who are neither belongs to the city New York nor grade value is more than 100. */
SELECT *
FROM customer
WHERE NOT (city = 'New York' OR grade>100);