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

2 lines
185 B
MySQL
Raw Normal View History

2017-01-25 13:21:35 +00:00
SELECT number FROM remote('127.0.0.{1,2}', system, numbers) WHERE number GLOBAL IN (SELECT number FROM remote('127.0.0.{1,2}', system, numbers) WHERE number % 2 = 1 LIMIT 10) LIMIT 10;