Lab 4
Lab 4
REG. NO.:2021503508
1.Find the total salary, average salary, maximum salary and minimum salary of the Programmer table.
3.Find the total number of employees assigned to each department starting with the most employees.
6.List the number of employees in each project, except the KCW, sorted high to low.
9.Find the number of employees by hired year and jobid. Display the details only if the count is above one and their salary sum is above 200000.
10.Find the employee whose salary is greater than average salary of same department.
11.Find the number of employees of each project based on their privilege.Display the Employee Count, privilege and projid.
12.List the department's name and the number of employees in each department that has more than one.
13.Find the employee whose salary is greater the average salary of each department.
15.Find the deptno and its employee count that has more than 2 employees assigned.
16.Display the employee details with their department name
17.Display the employee name and his/her department location whose works in the deptno P1002.
18.List the total number of employees for each department together with department information.
21.Find the employee who earns highest salary in the department P1001.
23.Find the employee who earns SECOND highest salary in the department P1001.
24.Display the number of employees working in each location. Display the employee count and the location.