mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
14 lines
249 B
SQL
14 lines
249 B
SQL
-- https://github.com/ClickHouse/ClickHouse/issues/21584
|
|
SET enable_analyzer=1;
|
|
SELECT count()
|
|
FROM
|
|
(
|
|
SELECT number AS key_1
|
|
FROM numbers(15)
|
|
) AS x
|
|
ALL INNER JOIN
|
|
(
|
|
SELECT number AS key_1
|
|
FROM numbers(10)
|
|
) AS z ON key_1 = z.key_1;
|