Collegedunia interview question

What's the difference between GroupBy and Have in in MySQL?