MAQ Software Interview Question

Where vs Having in SQL