mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
12 lines
255 B
SQL
12 lines
255 B
SQL
DROP TABLE IF EXISTS v1;
|
|
DROP TABLE IF EXISTS v2;
|
|
|
|
CREATE VIEW v1 AS SELECT 1 FROM (SELECT 1);
|
|
SELECT * FROM v1;
|
|
|
|
CREATE VIEW v2 AS SELECT number * number FROM (SELECT number FROM system.numbers LIMIT 10);
|
|
SELECT * FROM v2;
|
|
|
|
DROP TABLE v1;
|
|
DROP TABLE v2;
|