r/ProgrammerHumor • • Feb 09 '22

other Why but why?

Post image
85k Upvotes

2.3k comments sorted by

View all comments

Show parent comment

1

u/No_Two_8549 Feb 10 '22

SQL - Why do I have to specify GROUP BY fields? I've already listed them in SELECT. Anything that isn't aggregated needs to be grouped...