mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
9 lines
241 B
SQL
9 lines
241 B
SQL
SET allow_experimental_live_view = 1;
|
|
DROP TABLE IF EXISTS test;
|
|
DROP TABLE IF EXISTS lv;
|
|
CREATE TABLE test (n Int8) ENGINE = Memory;
|
|
CREATE LIVE VIEW lv AS SELECT * FROM test;
|
|
DETACH TABLE lv;
|
|
INSERT INTO test VALUES (42);
|
|
DROP TABLE test;
|