ClickHouse/dbms/tests/queries/0_stateless/00152_totals_in_subquery.sql
Alexey Arno 80850909c7 Merge
2015-04-23 14:07:15 +03:00

3 lines
144 B
SQL

SELECT count() FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);
SELECT * FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);