题解 | #用where过滤空值练习#

判断某列不为空: 1、 is not null

select device_id,gender,age,university
from user_profile
where age is not null;

2、 not...is null

select device_id,gender,age,university
from user_profile
where not age is null;

3、where age

select device_id,gender,age,university
from user_profile
where age;
全部评论

相关推荐

07-03 16:02
门头沟学院 Java
点赞 评论 收藏
分享
05-14 20:34
门头沟学院 Java
窝补药贝八股:管他们,乱说,反正又不去,直接说680
点赞 评论 收藏
分享
水墨不写bug:疑似没有上过大学
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务