Enmovil interview question

WHERE vs HAVING in SQL.