Mysql
 sql >> Base de données >  >> RDS >> Mysql

MySql Count ne peut pas afficher les valeurs 0

SELECT c.name, count(m.mailid)
FROM Employee 
   LEFT JOIN mailingSubscriptions as m ON c.Name = m.EmployeeName
GROUP BY c.name;