mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
16 lines
227 B
Plaintext
16 lines
227 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)\nFROM numbers(10000)
|
|
9
|
|
SELECT sumDistinctIf(number % 10, (number % 5) = 2)\nFROM numbers(10000)
|