Ingrid & Isabel interview question

SQL, the difference between when and having.