Flex Interview Question

Difference between HAVING and WHERE in SQL