Re: HAVING CLAUSE and a WHERE CLAUSE
A HAVING clause is like a WHERE clause, but applies only to groups as a whole, whereas the WHERE clause applies to individual rows.The HAVING clause is then applied to the rows in the result set. Only the groups that meet the HAVING conditions appear in the query output.
|