ClickHouse/dbms/tests/queries/0_stateless/00220_with_totals_in_subquery_remote_and_limit.sql

2 lines
94 B
SQL

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