Grouping sets

Grouping sets can be used to perform multiple aggregations within one query.

source

View on Github