Display those managers salary greater than the average
salary of his employees?(Based on oracle standard Emp table)
Answer Posted / saiprasanna
select ename,empno from emp a where sal>(select avg(sal) from emp b where mgr=a.empno);
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.
How to use subqueries in the from clause in oracle?
How to define an anonymous block?
Can we call procedure inside function in oracle?
Explain the use of compress option in exp command.
Can group functions be used in the order by clause in oracle?
What is a data dictionary and how can it be created?
What are the differences between lov and list item?
What language does oracle use?
What are the types of trigger in oracle?
How to do a full database export?
How to increment dates by 1 in oracle?
What is private procedure oracle?
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
How is it different from a normal table?