>>36
There isn't inconsistency in the spec. The problem is the spec is too large.
What is the intuition behind this?
select NULL in () -> 0
select NULL in (7) -> NULL
select 7 in (7, NULL) -> 1
If NULL is meaningless, why should `NULL in ()' be meaningful? Why is (7, NULL) meaningful? There are rules that outline the results of these cases, but the rules are at too high of a level. If the rules were smaller, there would be an explanation for the results above, rather than a definition. And the explanation might make sense to someone, as opposed to memorization of
that's just what sql does.