ClickHouse/dbms/tests/queries/0_stateless/00018_distinct_in_subquery.sql
2016-06-07 11:23:15 +03:00

2 lines
63 B
SQL

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