ClickHouse/tests/queries/0_stateless/00059_shard_global_in.sql

4 lines
201 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: shard
2018-01-29 10:01:18 +00:00
SELECT number FROM remote('127.0.0.{2,3}', system, numbers) WHERE number GLOBAL IN (SELECT number FROM remote('127.0.0.{2,3}', system, numbers) WHERE number % 2 = 1 LIMIT 10) LIMIT 10;