mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
5 lines
193 B
SQL
5 lines
193 B
SQL
-- Tags: shard
|
|
|
|
SELECT anyHeavy(x) FROM (SELECT intHash64(number) % 100 < 60 ? 999 : number AS x FROM system.numbers LIMIT 100000);
|
|
SELECT anyHeavy(1) FROM remote('127.0.0.{2,3}', system.one);
|