ClickHouse/tests/queries/0_stateless/02096_totals_global_in_bug.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
193 B
MySQL
Raw Normal View History

2023-12-07 16:17:10 +00:00
select sum(number) from remote('127.0.0.{2,3}', numbers(2)) where number global in (select sum(number) from numbers(2) group by number with totals) group by number with totals order by number;