ClickHouse/dbms/tests/queries/0_stateless/00220_shard_with_totals_in_subquery_remote_and_limit.sql
2018-03-05 17:59:51 +03:00

2 lines
94 B
SQL

SELECT x FROM (SELECT count() AS x FROM remote('127.0.0.2', system.one) WITH TOTALS) LIMIT 1;