Another useful thing to do with group by is to do mathmatical stuff on records, like test scores and such.
select name, count(score), sum(score), avg(score) from tests group by name
will return the average someone scored on all tests, as well as the total of all tests added together and how many test scores are in the database.