mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
10 lines
304 B
SQL
10 lines
304 B
SQL
DROP TABLE IF EXISTS test.count;
|
|
|
|
CREATE TABLE test.count (x UInt64) ENGINE = MergeTree ORDER BY tuple();
|
|
INSERT INTO test.count SELECT * FROM numbers(1234567);
|
|
|
|
SELECT count() FROM remote('127.0.0.{1,2}', test.count);
|
|
SELECT count() / 2 FROM remote('127.0.0.{1,2}', test.count);
|
|
|
|
DROP TABLE test.count;
|