Pregunta de entrevista de FIS

How is a group by used in SQL