Languages

MySQL - how does GROUP BY on multiple columns work?

0 points
Asked by:
Lia-Perez
355

How does GROUP BY statement with multiple columns work?

1 answer
0 points
Answered by:
Lia-Perez
355

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.

❤️💻 🙂

Join