Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Consulta MySQL - usando SUM de COUNT

SELECT COUNT(count) FROM (SELECT COUNT(source) AS count
FROM call_details
GROUP BY source
HAVING count > 1) as A