mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
14 lines
369 B
SQL
14 lines
369 B
SQL
DROP TABLE IF EXISTS test_00599;
|
|
DROP TABLE IF EXISTS test_view_00599;
|
|
|
|
CREATE TABLE test_00599(id UInt64) ENGINE = Log;
|
|
CREATE VIEW test_view_00599 AS SELECT * FROM test_00599 WHERE id = (SELECT 1);
|
|
|
|
DETACH TABLE test_view_00599;
|
|
ATTACH TABLE test_view_00599;
|
|
|
|
SHOW CREATE TABLE test_view_00599;
|
|
|
|
DROP TABLE IF EXISTS test_00599;
|
|
DROP TABLE IF EXISTS test_view_00599;
|