Google News
logo
Oracle - Interview Questions
How to display employee records who gets more salary than the average salary in the department?
This can be done by this query :
 
Select * from employee where salary>(select avg(salary) from dept, employee where dept.deptno = employee.deptno);

Advertisement