Learn SQL
GROUP BY - more use cases
33.1
Lesson

GROUP BY modified column data

We want to count the number of students for unique length of names.

In this case, we can use the length of name in the ORDER BY clause to get the result.