GROUP BY ROLLUP

https://docs.snowflake.com/en/sql-reference/constructs/group-by-rollup.html 

Comments