ClickHouse/dbms/tests/queries/0_stateless/00600_create_temporary_table_if_not_exists.sql
2018-03-17 01:55:07 +03:00

4 lines
273 B
SQL

CREATE TEMPORARY TABLE IF NOT EXISTS temporary_table (column UInt32) ENGINE = Memory;
CREATE TEMPORARY TABLE IF NOT EXISTS temporary_table (column UInt32) ENGINE = Memory;
INSERT INTO temporary_table VALUES (1), (2), (3);
SELECT column FROM temporary_table ORDER BY column;