Display those managers salary greater than the average
salary of his employees?(Based on oracle standard Emp table)
Answer Posted / pradeep
select ename,sal,mgr
from emp a
where sal > (select avg(sal)
from emp b
where b.mgr = a.mgr)
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Explain the use of tables option in exp command.
Explain how you would restore a database using RMAN to Point in Time?
How to define an oracle cursor variable?
How to select all columns of all rows from a table in oracle?
What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.
Difference between varchar and varchar2 data types?
How many types of table in Oracle?
How to delete a column in an existing table in oracle?
What is a sub query? What are its various types?
What are the different oracle database objects?
How to create an oracle database manually?
What is bulk collect in oracle?
How to do clean up if create database failed?
what is the difference between data migration and production migration.
How can I see all tables in oracle?