Amazon interview question

Why use having clause ?