ClickHouse/tests/queries/0_stateless/01801_distinct_group_by_shard.sql

4 lines
124 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: shard
2021-04-08 12:29:34 +00:00
SELECT DISTINCT a FROM remote('127.0.0.{1,2,3}', values('a UInt8, b UInt8', (1, 2), (1, 3))) GROUP BY a, b;