正确写法:

select * from table where column is null;
select * from table where column is not null;

切记不能使用select * from table where column = null;