Display those managers salary greater than the average
salary of his employees?(Based on oracle standard Emp table)
Answer Posted / chakradhar
select ename,sal,mgr
from emp mgr
where sal > (select avg(sal)
from emp emp
where emp.mgr = mgr.empno)
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the sql query to concatenate column values from multiple rows in oracle?
How to open a cursor variable?
What view(s) do you use to associate a users SQLPLUS session with his o/s process?
How to use "for" statements in oracle?
How to write a query with an inner join in oracle?
State some uses of redo log files?
Can we store pictures in the database and if so, how it can be done?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What is the use of oracle?
Explain what are clusters?
What are the uses of linked server and explain it in detail?
How can you use check constraints for self referential integrity?
Why does Oracle not permit the use of PCTUSED with indexes?
How to lock and unlock a user account in oracle?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....