ClickHouse/tests/queries/0_stateless/00152_totals_in_subquery.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
144 B
MySQL
Raw Normal View History

2015-04-23 11:07:15 +00:00
SELECT count() FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);
SELECT * FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);