mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-07 23:12:34 +00:00
7 lines
156 B
SQL
7 lines
156 B
SQL
-- https://github.com/ClickHouse/ClickHouse/issues/25655
|
|
SET allow_experimental_analyzer=1;
|
|
SELECT
|
|
sum(t.b) / 1 a,
|
|
sum(t.a)
|
|
FROM ( SELECT 1 a, 2 b ) t;
|