If I write a query
SELECT *Then of course if column1 hasn't been filled yet it won't return anything since null != 0
FROM table1
WHERE column1 = 0
Sooo, then why is it that this query
SELECT *Won't return anything at all either.
FROM table1
WHERE column1 != 1
I understand that null is not really like anything else, but to exclude it when looking for something in a certain column seems odd to me, or am I missing something?

0 comments:
Post a Comment