ClickHouse/tests/queries/0_stateless/01259_combinator_distinct.reference

18 lines
225 B
Plaintext
Raw Normal View History

2020-06-17 19:36:27 +00:00
4999950000
2020-05-16 00:02:55 +00:00
78
[0,1,2,3,4,5,6,7,8,9,10,11,12]
20
0.49237
0.49237
15
18
21
24
27
2
2020-06-27 15:30:54 +00:00
SELECT uniqExactIf(number % 10, (number % 5) = 2)
FROM numbers(10000)
9
2020-06-27 15:30:54 +00:00
SELECT sumDistinctIf(number % 10, (number % 5) = 2)
FROM numbers(10000)