programming-examples/sql/BooleanRelationalOperators/Write a SQL statement to display all the customers, who are either belongs to the city New York or not had a grade above 100.sql

5 lines
206 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to display all the customers, who are either belongs to the city New York or
not had a grade above 100. */
SELECT *
FROM customer
WHERE city = 'New York' OR NOT grade>100;