ClickHouse/tests/queries/0_stateless/00152_totals_in_subquery.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +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);