ClickHouse/dbms/tests/queries/0_stateless/00220_with_totals_in_subquery_remote_and_limit.sql
2017-01-13 18:43:43 +00:00

2 lines
94 B
SQL

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