Amazon Interview Question

Why use having clause ?