空值判断(is not null)

判断为空,在oracle中是无法用 = 号的,是用 is null等语句进行测试,用 = 号不会报错,但是查询结果为0条数据

-- 查询年龄为空的数据
select * from where age is null
-- 查询年龄不为空的数据
select * from where age is not null
原文地址:https://www.cnblogs.com/wanlige/p/14547910.html