mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
13 lines
362 B
SQL
13 lines
362 B
SQL
DROP TABLE IF EXISTS t_00180;
|
|
DROP TABLE IF EXISTS mv_00180;
|
|
DROP TABLE IF EXISTS `.inner.mv_00180`;
|
|
|
|
CREATE TABLE t_00180 (x UInt8) ENGINE = Null;
|
|
CREATE MATERIALIZED VIEW mv_00180 ENGINE = Null AS SELECT * FROM t_00180;
|
|
|
|
DETACH TABLE mv_00180;
|
|
ATTACH MATERIALIZED VIEW mv_00180 ENGINE = Null AS SELECT * FROM t_00180;
|
|
|
|
DROP TABLE t_00180;
|
|
DROP TABLE mv_00180;
|