Nested Queries Experiment


Nested Queries

List the names of the emps who are getting the highest sal dept wise.

List the emps whose sal is equal to the average of max and minimum

List the managers whose sal is more than his employess avg salary.

List the emps who joined in the company on the same date.
List the Managers name who is having max no.of emps working under him.

List those Managers who are getting less than his emps Salary.

Print the details of all the emps who are sub-ordinates to Blake.

List the employee name,Salary and Deptno for each employee who earns a salary greater than the average salary of their department order by Deptno.

List out the Names and Salaries of the emps along with their manager names and salaries for those emps who earn more salary than their Manager.