Pregunta de entrevista de J.P. Morgan

What does GROUP BY do?