mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
12 lines
301 B
SQL
12 lines
301 B
SQL
DROP TABLE IF EXISTS nullt;
|
|
|
|
CREATE TABLE nullt (c1 Nullable(UInt32), c2 Nullable(String))ENGINE = Log;
|
|
INSERT INTO nullt VALUES (1, 'abc'), (2, NULL), (NULL, NULL);
|
|
|
|
SELECT c2 = ('abc') FROM nullt;
|
|
SELECT c2 IN ('abc') FROM nullt;
|
|
|
|
SELECT c2 IN ('abc', NULL) FROM nullt;
|
|
|
|
DROP TABLE IF EXISTS nullt;
|