Act fast, special offers end soon! Up to $294 is savings when you get Premium today.
Get offer codes

How does GROUP BY multiple columns works in SQL?

Group By X means put all those with the same value for X in the one group.

Group By X, Y means put all those with the same values for both X and Y in the one group.

This StackOverflow post explains it very thoroughly:

1 Like