给定表中相同的行。这是 SQL 查询:
select * from table where (a in (0,1) and b in (0,2) and c in (0,3))
逻辑上等价于这个:
select * from table where
(a = 0 and b = 0 and c = 0)
or
(a = 1 and b = 0 and c = 0)
or
(a = 0 and b = 2 and c = 0)
or
(a = 0 and b = 0 and c = 3)
or
(a = 1 and b = 2 and c = 0)
or
(a = 0 and b = 2 and c = 3)
or
(a = 1 and b = 0 and c = 3)
or
(a = 1 and b = 2 and c = 3);
???