ClickHouse/tests/queries/0_stateless/01295_aggregation_bug_11413.sql

2 lines
118 B
MySQL
Raw Normal View History

2020-06-03 19:43:05 +00:00
SELECT 1 FROM remote('127.0.0.{1,2}', numbers(99)) GROUP BY materialize(1) HAVING count() > 0 AND argMax(1, tuple(0))