mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
15 lines
298 B
SQL
15 lines
298 B
SQL
DROP TABLE IF EXISTS empty;
|
|
DROP TABLE IF EXISTS data;
|
|
|
|
CREATE TABLE empty (value Int8) ENGINE = TinyLog;
|
|
CREATE TABLE data (value Int8) ENGINE = TinyLog;
|
|
|
|
INSERT INTO data SELECT * FROM empty;
|
|
SELECT * FROM data;
|
|
|
|
INSERT INTO data SELECT 1;
|
|
SELECT * FROM data;
|
|
|
|
DROP TABLE empty;
|
|
DROP TABLE data;
|