What does SQL clause “GROUP BY 1” mean?

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

Leave a Comment