Home › Glossary › GROUPING SETS

GROUPING SETS

Lets one GROUP BY query return results for several different groupings at once, giving the same output as stitching individual aggregations together with UNION ALL. CUBE and ROLLUP are convenient shorthands built on it.

Read more: Microsoft Learn

In the Ultra Transcenders books

DP-750DP-700

Each book explains GROUPING SETS in context, with comparison tables and the common traps.

Terms in this definition

See GROUPING SETS in the full glossary