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

用where过滤空值练习

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

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

考察比较运算符is null和not,mysql常用的条件查询:

  1. 比较运算符
  2. 大于
  3. 小于
  4. 大于等于
  5. 小于等于
  6. 等于
  7. 不等于
  8. between...and...
  9. in(...)
  10. like 占位符
  11. is null
  12. 逻辑运算符
  13. and/&&
  14. or/||
  15. not/!
全部评论

相关推荐

Hyh_111:像这种hr就不用管了,基本没啥实力,换一个吧
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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