Fannie Mae interview question

Difference between having and where in a sql satement.