mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
10 lines
243 B
SQL
10 lines
243 B
SQL
DROP TABLE IF EXISTS test.test;
|
|
|
|
CREATE TABLE test.test(number UInt64, num2 UInt64) ENGINE = Log;
|
|
|
|
INSERT INTO test.test WITH number * 2 AS num2 SELECT number, num2 FROM system.numbers LIMIT 3;
|
|
|
|
SELECT * FROM test.test;
|
|
|
|
DROP TABLE test.test;
|