ClickHouse/dbms/tests/queries/1_stateful/00009_uniq_distributed.sql
2018-12-30 01:13:23 +03:00

2 lines
130 B
SQL

SELECT uniq(UserID), uniqIf(UserID, CounterID = 800784), uniqIf(FUniqID, RegionID = 213) FROM remote('127.0.0.{1,2}', test, hits)