icon_learningcorner

Learning Corner #6 – Grouping sets in SQL Server

Grouping sets in SQL Server always comes into handy when you find yourself in the need to perform data aggregation based on groups. The groups are made by defining a set of attributes that the engine will use to split the data.