sql 5 examples group by having Example: sql count having SELECT COUNT( * ) FROM agents HAVING COUNT(*)>1; --count is greater than 1