Question: Using SQL: Write a query to display the department name, location name, number of employees, and the average salary for all employees in that department.
Using SQL: Write a query to display the department name, location name, number of employees, and the average salary for all employees in that department. Label the columns dname, loc, Number of People, and Salary, respectively. The EMP table has the following columns: EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO
and the DEPT table has the following columns: DEPTNO, DNAME, LOC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
