CBSE Class 12 Computer Science
Question 90 of 91
Grouping Records, Joins in SQL — Question 25
Back to all questionsSELECT d.DeptName AS Department_Name, COUNT(e.EMPNO) AS Number_of_Employees
FROM DEPT d, EMPL e
WHERE d.Deptno = e.DEPTNO
GROUP BY d.DeptName;