1.判断为空使用:is null
select * from students where height is null;
2.判断非空使用:is not null
select * from students where height is not null;

本文介绍了在SQL查询中如何使用`isnull`和`isnotnull`来判断学生表中height字段的空值和非空值,展示了针对空值处理的基本操作。
1.判断为空使用:is null
select * from students where height is null;
2.判断非空使用:is not null
select * from students where height is not null;

5361
5873

被折叠的 条评论
为什么被折叠?