ClickHouse/tests/queries/0_stateless/01720_union_distinct_with_limit.sql
2021-02-17 08:26:52 +00:00

9 lines
77 B
SQL

SELECT x
FROM
(
SELECT 1 AS x
UNION DISTINCT
SELECT 1
)
LIMIT 1;