There is a lot of confusion on using the GROUP BY clause and specifically when it is and isn't okay to leave columns out of the GROUP BY clause.
A little heavy lifting here but
this article is quite good for those looking to find out more information.
Unfortunately I see GROUP BY used incorrectly in a lot of forums.