【sql 语句】 =null 没有这种写法 只有 is null 和 is not null 这种写法

【sql 语句】 =null 没有这种写法 只有 is null 和 is not null 这种写法

查了半天bug都没看出来,原来是判断 null的这里用的 =

没有 = null 这种表示 只有 is null

没有 != null 只有 is not null

发布了466 篇原创文章 · 获赞 207 · 访问量 27万+

猜你喜欢

转载自blog.csdn.net/shiliang97/article/details/104449207