ClickHouse/tests/queries/0_stateless/00018_distinct_in_subquery.sql

2 lines
63 B
MySQL
Raw Normal View History

2014-03-23 20:40:55 +00:00
SELECT x FROM (SELECT DISTINCT 1 AS x, arrayJoin([1, 2]) AS y)