In addition to Foo Bah's answer,
if you have null column values ββsuch as:
NAME COLOR Ford green Ford red Subaru yellow Subaru red Subaru NULL Ford NULL
you need to use the ISNULL () function to output the values ββof the null column
... WHERE NOT (ISNULL(NAME,'') = 'Ford' AND ISNULL(COLOR,'') = 'yellow')
source share