Tredence interview question

Difference between Group by and having