mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
8 lines
314 B
SQL
8 lines
314 B
SQL
CREATE TEMPORARY TABLE IF NOT EXISTS default_table (x UInt32, y UInt32 DEFAULT 42, z UInt32 DEFAULT 33) ENGINE = Memory;
|
|
|
|
INSERT INTO default_table(x) values (DEFAULT);
|
|
INSERT INTO default_table(x, z) values (1, DEFAULT);
|
|
INSERT INTO default_table values (2, 33, DEFAULT);
|
|
|
|
SELECT * FROM default_table ORDER BY x;
|