Gemini Solutions interview question

What is the difference between HAVING and GROUP BY