The following query retrieves all Part table records that do not have a null value in their
color
data column:
SELECT *
FROM part
WHERE color IS NOT NULL;
When used in a predicate, the NULL operator keyword must be preceded with either the IS or IS NOT keywords. Operators such as = or <> cannot be used with the NULL keyword.