mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
10 lines
314 B
SQL
10 lines
314 B
SQL
DROP TABLE IF EXISTS test.null;
|
|
DROP TABLE IF EXISTS test.null_view;
|
|
|
|
CREATE TABLE test.null (x UInt8) ENGINE = Null;
|
|
CREATE VIEW test.null_view AS SELECT * FROM test.null WHERE toUInt64(x) IN (SELECT number FROM system.numbers);
|
|
INSERT INTO test.null VALUES (1);
|
|
|
|
DROP TABLE test.null;
|
|
DROP TABLE test.null_view;
|