mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
8 lines
220 B
MySQL
8 lines
220 B
MySQL
|
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);
|