SELECT uniqExactIf(number, 1) FROM numbers_mt(1e6)