ClickHouse/tests/queries/0_stateless/02475_analyzer_join_tree_subquery.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
220 B
MySQL
Raw Normal View History

SET allow_experimental_analyzer = 1;
WITH subquery AS (SELECT sum(number) FROM numbers(10)) SELECT * FROM subquery;
SELECT '--';
WITH subquery AS (SELECT sum(number) FROM numbers(10)) SELECT (SELECT * FROM subquery);