次のスクリプトは、部門の名前とそれらの部門に属する従業員の数を返す必要があります。マーケティング、エグゼクティブ、および営業部門の従業員は '0' ですが、戻り値は '0' ではなく '1' です。どうすれば修正できますか?
select Department, Departments.DepartmentID, count(*) as 'NumOfEmps'
from Departments
left join Employees
on Employees.DepartmentID = Departments.DepartmentID
group by Departments.DepartmentID,Department