Files
doris/regression-test/suites/with_clause_p0/sql/withExprAccessingAnotherAndAlsoFromParents.sql
2022-09-29 10:45:17 +08:00

5 lines
174 B
SQL

-- database: presto; groups: with_clause; tables: nation; queryType: SELECT
WITH w1 AS (select * from tpch_tiny_nation),
w2 AS (select * from w1)
select count(*) from w1, w2