On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
See the whole table
Select some columns
Filtering rows
7. The not equal sign (!=)
Text patterns
To be or NULL to be
A little bit of mathematics
Let's practice


Fantastic! There is one more very important conditional operator, the inequality sign (!= or sometimes <>). Look at the example:

FROM user
WHERE age != 18;

See how easy it is? We've used the inequality sign (!=) to select all users who aren't 18.


Select all columns for those cars which weren't produced in 1999.

Stuck? Here's a hint!


FROM car
WHERE production_year != 1999;