ClickHouse/dbms/tests/queries/0_stateless/00018_distinct_in_subquery.sql
2014-03-24 06:50:25 +04:00

2 lines
63 B
SQL

SELECT x FROM (SELECT DISTINCT 1 AS x, arrayJoin([1, 2]) AS y)