mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
9 lines
191 B
MySQL
9 lines
191 B
MySQL
|
SELECT bitmapMax(argMax(x, y))
|
||
|
FROM remote('127.0.0.{2,3}', view(
|
||
|
SELECT
|
||
|
groupBitmapState(toUInt32(number)) AS x,
|
||
|
number AS y
|
||
|
FROM numbers(10)
|
||
|
GROUP BY number
|
||
|
));
|