ClickHouse/tests/queries/0_stateless/00663_tiny_log_empty_insert.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

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;