What does SQL clause “GROUP BY 1” mean?

It means to group by the first column of your result set regardless of what it’s called. You can do the same with ORDER BY.

Leave a Comment