mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
3 lines
144 B
MySQL
3 lines
144 B
MySQL
|
SELECT count() FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);
|
||
|
SELECT * FROM (SELECT dummy, sum(dummy) GROUP BY dummy WITH TOTALS);
|