Groupby Queries
Groupby Queries
10.Find the total salary distribution job wise in the year 1981.
11.Display the number of employees for each job department number wise.
13.List the number of employees in each department where the number is more
than 3.
14.List the department number and names of departments where at least 4 are
working in that department.
16.List the details of the department where maximum number of employees are
working
21.List the number of employees and Average salary within each department for
each job
22.Find the average salary drawn for each job except for ‘President’.
23.List the department number and their average salaries for department with
the average salary less than the averages for all departments.