Mysql
 sql >> Datenbank >  >> RDS >> Mysql

MySql Count kann keine 0-Werte anzeigen

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