0
点赞
收藏
分享

微信扫一扫

MySQL语法查找非空(NULL)的元素

seuleyang 2022-05-10 阅读 66


# 不会报错,但不会有可用数据返回
select name from clase where address != null
# 这才是正确的SQL!
select name from clase where address IS NOT NULL



举报

相关推荐

0 条评论