Taking you to http://dev.mysql.com/doc/refman/5.5/en/group-by-functions.html.