Using comparison operators in the WHERE clause

You can use comparison operators in the WHERE clause. The operators follow the syntax:

WHERE expression comparison-operator expression

See Comparison operators, and Expressions.

 Notes on comparisons
 The NOT operator