Pergunta de entrevista da empresa Ebury

What is the difference between HAVING and WHERE in SQL?