Vention interview question

Distinct vs. group by. Difference