SELECT Dept,COUNT(Dept) as TotalFROM Employee_TableGROUP BY Dept
Dept TotalHR 1IT 3Marketing 2Sales 1
Login to post response