i want department wise maxmum salary and empolyee name
Answer Posted / ajaikumar
Select e.ename, d.deptname, e.sal
from emp e, dept d
where
e.deptno = d.deptno
and
e.sal IN (
select max(sal) from emp
group by deptno
)
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is an oracle wallet?
What is primefaces used for?
How to write a query with a left outer join in oracle?
How to update values on multiple rows in oracle?
How to create a temporary table in oracle?
What is a tns file?
Explain the importance of .pll extension in oracle?
State the various uses of dbcc command?
What is merge in oracle?
1) Does oracle have any table which contain all the exceptions and it's code internally?
Briefly explain what is literal? Give an example where it can be used?
What is the scope of a local variable?
In what script is snap$ created? In what script is the scott/tiger schema created?
What are the advantages of oracle?
what is difference between sql plus and sql*plus? (not sql and sql plus).