Pergunta de entrevista da empresa Unison

In SQL, when do you use "where" and when do you use "having"