SQL中使用where过滤空值的方法

过滤空值的三种方法:
(1) Where 列名 is not null
(2) Where 列名 != ‘null’
(3) Where 列名 <> ‘null’

牛客打卡:SQL中使用where过滤空值

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

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐