WHERE clauseWHERE clause with comparison operators
WHERE expression_1 operator expression_2
= Equal
> Greater than
< Less than
<= Less than or equal to
>= Greater than or equal to
<> Not equal
WHERE clause that selects products where the product...
WHERE categoryID = 2
WHERE productName = 'Gibson Les Paul'
WHERE listPrice < 499.99
WHERE listPrice >= 499.99
WHERE productName < 'G'
WHERE dateAdded < '2017-01-31'
WHERE dateAdded >= '2017-01-31'
discountPercent <> 30
TRUE value, the row being tested is included in the result set. If it’s FALSE or unknown, the row isn’t included.