Oracle中查询某字段不为空或者为空的SQL语句怎么写

如题所述

select * from 表名 where 某字段 is not null;
-- 某字段不为空。

select * from 表名 where 某字段 is null;
-- 某字段为空。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2017-07-25
select * from tab where tab.column is null

相似回答