Kytcs.Blogspot.com: SQL HAND ON 1

SQL HAND ON 1



SQL HAND ON 1




select Departments.deptName,COUNT(Employees.eDeptId) From departments LEFT Join Employees on Departments.deptId=Employees.eDeptId Group By Departments.deptId,Departments.deptName Order by count(Employees.eDeptId) Desc, departments.deptName;

No comments:

Post a Comment

Followers

Ad Space