题解 | #查找非空值#

查找非空值

https://www.nowcoder.com/practice/5690d2a3e1f64ce6bdf77f139c5a05e1

select
教师号,
教师姓名
from 教师表
where 
教师姓名 is not null

基础的select 列名,列名 from 表名 where 条件

null 比较特殊,要用 is null 含null,或者 is not null 不含null

全部评论

相关推荐

不愿透露姓名的神秘牛友
03-20 12:46
瘦嘟嘟右卫门:百度文库网盘的暑期也没约面吗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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