group by count(*)>1 code example Example: SQL only show where count is great than 1 SELECT COUNT( * ) FROM agents HAVING COUNT(*)>1; --count is greater than 1