mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
8 lines
260 B
SQL
8 lines
260 B
SQL
drop table if exists t;
|
|
create table t engine = Memory as with cte as (select * from numbers(10)) select * from cte;
|
|
drop table t;
|
|
|
|
drop table if exists view1;
|
|
create view view1 as with t as (select number n from numbers(3)) select n from t;
|
|
drop table view1;
|