Example I have the following records on column_name “color”: blue, red, green, null…
when I do a select query .. select * from table_name where color <> red…
The sql should return all records except those that have color red, right? Why is it not showing those value that have null as color? Thank you!
Example I have the following records on column_name color: blue, red, green, null… when
Share
In general, any comparison with
NULLreturns false. If you want to also getNULLrows, you’ll have to explicitly ask for them: