ClickHouse/tests/queries/0_stateless/03054_analyzer_join_alias.sql

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

14 lines
249 B
MySQL
Raw Normal View History

-- https://github.com/ClickHouse/ClickHouse/issues/21584
2024-07-12 12:49:26 +00:00
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;