What is the purpose of the HAVING clause in SQL?
Q1. What is the purpose of the HAVING clause in SQL?
Answer: To filter data based on conditions after grouping
Explanation: The HAVING clause filters grouped data based on conditions, allowing aggregate functions to be applied to the filtered groups.