mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
18 lines
225 B
Plaintext
18 lines
225 B
Plaintext
4999950000
|
|
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
|
|
SELECT uniqExactIf(number % 10, (number % 5) = 2)
|
|
FROM numbers(10000)
|
|
9
|
|
SELECT sumDistinctIf(number % 10, (number % 5) = 2)
|
|
FROM numbers(10000)
|