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

Answer Posted / murali

select m.ename from emp e,emp m where e.mgr=m.empno and
e.sal<m.sal

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is port in oracle? how is it related to database application.

1438


What is the maximum limit on the number of columns in a table?

551


Is it possible to insert comments into sql statements return in the data model editor ?

2064


how do u setup a replication site?

1500


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1827






how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

1829


Difference between open_form and call_form in oracle.

678


Explain the use of analyse option in exp command.

588


What happens to the indexes if a table is recovered?

579


Explain the use of control file?

655


How to create a table index?

568


Explain what are the different type of segments?

577


How will you write a query to get a 5th rank student from a table student_report?

1374


How to calculate date and time differences in oracle?

531


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

1973