SELECT uniqExactIf(number, 1) FROM numbers_mt(1e7)
SELECT uniqExactState(number) FROM numbers_mt(1e7) Format Null
SELECT uniqExactArray([number]) FROM numbers_mt(1e7) Format Null
with (SELECT uniqExactState(number) FROM numbers_mt(1e7)) as a select uniqExactMerge(a)
SELECT uniqExactOrNull(number) FROM numbers_mt(1e7)