题解 | 用where过滤空值练习

用where过滤空值练习

https://www.nowcoder.com/practice/08c9846a423540319eea4be44e339e35

select device_id,gender,age,university from user_profile where age is not null and age <> "";

某个列值“is not null”相当于是一个标明不是空值的

表示其中一列不是空值,过滤空值并不是用“! =”这点要记清楚

全部评论

相关推荐

苗条的伊泽瑞尔最喜欢...:同28届被压力了,电科✌就不能去卷算法吗?把Java留给我们双非卷
投递快手等公司10个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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