mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
8 lines
314 B
MySQL
8 lines
314 B
MySQL
|
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;
|