In this table , if I make following query
select * from table where order_id != 1
I think, I am supposed to get row no 18 & 19. But instead, the query can't not fetch any row.
I can rewrite the query like this
select * from table where (order_id != 1 or order_id is null)
and it fetches the expected data, but should not the first query being able to fetch the row no 18 & 19
?