Quantiphi interview question

Difference between Having and Where in SQL?