mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
19 lines
1.5 KiB
Plaintext
19 lines
1.5 KiB
Plaintext
SELECT i
|
|
FROM cnf_test
|
|
WHERE (i <= 2) AND (i <= 1)
|
|
SELECT i
|
|
FROM cnf_test
|
|
WHERE (i <= 2) OR (i <= 1)
|
|
SELECT i
|
|
FROM cnf_test
|
|
WHERE ((i > 4) OR (i > 6) OR (i > 1)) AND ((i > 4) OR (i > 6) OR (i > 2)) AND ((i > 4) OR (i > 1) OR (i > 5)) AND ((i > 4) OR (i > 2) OR (i > 5)) AND ((i > 6) OR (i > 1) OR (i > 3)) AND ((i > 6) OR (i > 2) OR (i > 3)) AND ((i > 1) OR (i > 3) OR (i > 5)) AND ((i > 2) OR (i > 3) OR (i > 5))
|
|
SELECT i
|
|
FROM cnf_test
|
|
WHERE ((i <= 2) OR (i <= 6) OR (i <= 4)) AND ((i <= 2) OR (i <= 6) OR (i <= 3)) AND ((i <= 2) OR (i <= 4) OR (i <= 5)) AND ((i <= 2) OR (i <= 3) OR (i <= 5)) AND ((i <= 6) OR (i <= 1) OR (i <= 4)) AND ((i <= 6) OR (i <= 1) OR (i <= 3)) AND ((i <= 1) OR (i <= 4) OR (i <= 5)) AND ((i <= 1) OR (i <= 3) OR (i <= 5))
|
|
SELECT i
|
|
FROM cnf_test
|
|
WHERE ((i > 8) OR (i > 6) OR (i > 1)) AND ((i > 8) OR (i > 6) OR (i > 2)) AND ((i > 8) OR (i > 6) OR (i > 7)) AND ((i > 8) OR (i > 1) OR (i > 5)) AND ((i > 8) OR (i > 2) OR (i > 5)) AND ((i > 8) OR (i > 7) OR (i > 5)) AND ((i > 4) OR (i > 6) OR (i > 1)) AND ((i > 4) OR (i > 6) OR (i > 2)) AND ((i > 4) OR (i > 6) OR (i > 7)) AND ((i > 4) OR (i > 1) OR (i > 5)) AND ((i > 4) OR (i > 2) OR (i > 5)) AND ((i > 4) OR (i > 7) OR (i > 5)) AND ((i > 6) OR (i > 1) OR (i > 3)) AND ((i > 6) OR (i > 2) OR (i > 3)) AND ((i > 6) OR (i > 7) OR (i > 3)) AND ((i > 1) OR (i > 3) OR (i > 5)) AND ((i > 2) OR (i > 3) OR (i > 5)) AND ((i > 7) OR (i > 3) OR (i > 5))
|
|
SELECT i
|
|
FROM cnf_test
|
|
WHERE ((i > 8) OR (i > 4) OR (i > 3)) AND (i <= 6) AND ((i > 1) OR (i > 2) OR (i > 7)) AND (i <= 5)
|