Pergunta de entrevista da empresa Intercontinental Exchange

In SQL, what is the difference between GROUP BY and PARTITION BY?