mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
312 B
SQL
10 lines
312 B
SQL
DROP TABLE IF EXISTS count;
|
|
|
|
CREATE TABLE count (x UInt64) ENGINE = MergeTree ORDER BY tuple();
|
|
INSERT INTO count SELECT * FROM numbers(1234567);
|
|
|
|
SELECT count() FROM remote('127.0.0.{1,2}', currentDatabase(), count);
|
|
SELECT count() / 2 FROM remote('127.0.0.{1,2}', currentDatabase(), count);
|
|
|
|
DROP TABLE count;
|