How do you compare label revisions when two missing values should match?
SQLite IS compares NULLs and gives a definite truth value. Ordinary equality can yield unknown when either side is missing.
SQLite example and interpretation
Two absent annotations can represent no change, while NULL and blank text remain distinct. Decide whether shared absence counts as agreement for your review.
SELECT NULL IS NULL,NULL=NULL,NULL IS '';Result [[1, null, 0]]
中文
比较两版标签时,如何把两个缺失值视作相同?
SQLite 的 IS 可比较 NULL,并给出确定的真假结果;普通等号遇到空值会得到未知。
SQLite 示例与适用条件
两次标注都未填可视作无变化,但 NULL 和空字符串仍应区分。是否把缺失当一致取决于审核口径。
SELECT NULL IS NULL,NULL=NULL,NULL IS '';结果 [[1, null, 0]]