select uniq(number) from (select DISTINCT number from numbers(1000000))
select uniq(number) from (select number from numbers(1000000) group by number)
select uniq(number) from (select DISTINCT number from numbers(1000000)) SETTINGS allow_experimental_analyzer=1
select uniq(number) from (select number from numbers(1000000) group by number) SETTINGS allow_experimental_analyzer=1