MySQL - how does GROUP BY on multiple columns work?

0 points
Asked by:
Dirask Community

How does GROUP BY statement with multiple columns work?

1 answer
0 points
Answered by:
Dirask Community

I found a simple explanation:

GROUP BY `column1`, `column2` statement puts all the records with the same values for both column1 and column2 in the one group.

For better understanding, I also made an article:

0 comments Add comment
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé