When would we use having key-word in an SQL query? code example
Example: sql count having
SELECT COUNT( * )
FROM agents
HAVING COUNT(*)>1; --count is greater than 1
SELECT COUNT( * )
FROM agents
HAVING COUNT(*)>1; --count is greater than 1