Could you help me, I need to understand about the difference between
select * from table where field <> NULL;
and
select * from table where field is not NULL;
and see
SELECT COUNT(*) where (1 = null) -- return 0
SELECT COUNT(*) where (1 <> null) -- return 0
SELECT COUNT(*) where (1 is not null) -- return 1
SELECT COUNT(*) where (null = null) -- return 0
SELECT COUNT(*) where (null <> null) -- return 0
SELECT COUNT(*) where (null is null) -- return 1
SELECT COUNT(*) where (null is not null) -- return 0
Why is null = null
false?
Thanks in advance