ClickHouse/tests/queries/0_stateless/01711_cte_subquery_fix.sql

8 lines
260 B
MySQL
Raw Normal View History

2021-02-09 11:54:13 +00:00
drop table if exists t;
create table t engine = Memory as with cte as (select * from numbers(10)) select * from cte;
2021-02-08 16:25:24 +00:00
drop table t;
2021-04-05 06:36:33 +00:00
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;