You need to group by all columns that are not being aggregated. Are you confusing group by with order by?
1 Like
You need to group by all columns that are not being aggregated. Are you confusing group by with order by?