问题描述
我最后一次问你,我会再问你一个问题。
如果!= 0,我们知道我们应该包含null,但结果不是null。
如果!= 0,它与零和null不同,如果不是0,它是否也应该包含null?
如果!= 0,我们知道我们应该包含null,但结果不是null。
如果!= 0,它与零和null不同,如果不是0,它是否也应该包含null?
专家解答
If !=0, we know we should include null, but the result is not null.
不要。
NULL = 任何东西 => 不知道
而且:
空!= 任何东西 => 不知道
所以
空!= 0
退货
未知
Where子句仅返回条件为TRUE的行
未知 <> TRUE
所以any row that contains null in comm will NOT return if you search for:
通讯!= 0
阅读三值逻辑:
https://en.wikipedia.org/wiki/Three-valued_logic
不要。
NULL = 任何东西 => 不知道
而且:
空!= 任何东西 => 不知道
所以
空!= 0
退货
未知
Where子句仅返回条件为TRUE的行
未知 <> TRUE
所以any row that contains null in comm will NOT return if you search for:
通讯!= 0
阅读三值逻辑:
https://en.wikipedia.org/wiki/Three-valued_logic
文章转载自ASKTOM,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。