Which of the following co—related SQL queries will return Employeeld, EmployeeName, Salary and Department of all those employees whose salary is more than the average salary of employees in that employee's department?
Correct Answer:
SELECT Employeeld, EmployeeName, Salary, Department FROM Employee 9 WHERE Salary >(SELECT AVG(Salary) FROM Employee WHERE Department = e.Department);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Oracle 12c Admin MCQ Questions