Question: Explain the purpose of the HAVING clause.Answer: The HAVING clause is used in combination with the GROUP BY clause to filter the results of aggregate functions based on specified conditions.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is the difference between SQL and MySQL?
- What is a primary key?
- What is an index in a database?
- What is a foreign key?