mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
33 lines
510 B
Plaintext
33 lines
510 B
Plaintext
1704509 1384
|
|
732797 1336
|
|
598875 1384
|
|
792887 1336
|
|
3807842 1336
|
|
25703952 1336
|
|
716829 1384
|
|
59183 1336
|
|
33010362 1336
|
|
800784 1336
|
|
-- { echoOn }
|
|
set allow_experimental_analyzer = 1;
|
|
SELECT
|
|
CounterID AS k,
|
|
quantileBFloat16(0.5)(ResolutionWidth)
|
|
FROM remote('127.0.0.{1,2}', test, hits)
|
|
GROUP BY k
|
|
ORDER BY
|
|
count() DESC,
|
|
CounterID ASC
|
|
LIMIT 10
|
|
SETTINGS group_by_use_nulls = 1;
|
|
1704509 1384
|
|
732797 1336
|
|
598875 1384
|
|
792887 1336
|
|
3807842 1336
|
|
25703952 1336
|
|
716829 1384
|
|
59183 1336
|
|
33010362 1336
|
|
800784 1336
|