- HAVING is generally used along with the group by clause. WHERE clause is used independently.
- Purpose of the HAVING clause is to work on the aggregate functions. WHERE clause can be used without aggregate functions also.
- HAVING behaves similar to WHERE clause if there is no GROUP BY in the Query.
No comments:
Post a Comment