ClickHouse/tests/queries/1_stateful/00147_global_in_aggregate_function.sql

5 lines
244 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: global
SELECT sum(UserID GLOBAL IN (SELECT UserID FROM remote('127.0.0.{1,2}', test.hits))) FROM remote('127.0.0.{1,2}', test.hits);
SELECT sum(UserID GLOBAL IN (SELECT UserID FROM test.hits)) FROM remote('127.0.0.{1,2}', test.hits);