学无先后,达者为师

网站首页 编程语言 正文

SQL语句:空值判断

作者:黄佳俊、 更新时间: 2022-02-04 编程语言

不能用 !=

select device_id,gender,age,university
from user_profile
where age != null

没有输出

得用 is not

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

答案正确

原文链接:https://blog.csdn.net/weixin_48419914/article/details/122278205

栏目分类
最近更新