Display those managers salary greater than the average
salary of his employees?(Based on oracle standard Emp table)

Answer Posted / lal ajith kumara

select distinct (first_name)
from employees
where employee_id in (select manager_id
from employees
where salary > (select avg(salary) from
employees))

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1698


How to shutdown your 10g xe server?

618


How to login to the server without an instance?

618


 What are the oracle DML commands possible through an update strategy?

581


How can I create database in oracle?

567






What is dual table oracle?

527


What are the set operators union, union all, minus & intersect meant to do?

562


Explain about achiever in sql?

584


How does Oracle guarantee data integrity of data changes?

1936


What are the database administrators utilities available?

577


Is oracle the best database?

520


What is oracle datasource?

549


What is a oracle database?

605


Which is better Oracle or MS SQL? Why?

3974


How many anonymous blocks can be defined?

584