number of record having count more than 1 with group by sql code example
Example: SQL only show where count is great than 1
SELECT COUNT( * )
FROM agents
HAVING COUNT(*)>1; --count is greater than 1
SELECT COUNT( * )
FROM agents
HAVING COUNT(*)>1; --count is greater than 1