i want department wise maxmum salary and empolyee name
Answer Posted / satya
select empno,max(sal) sal,deptno from emp where empno in
(select e.empno from emp e where e.sal=(select max(a.sal) from
emp a where deptno=e.deptno)) group by deptno,empno;
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between I and G in Oracle?
interview questions with answer for cts
What do you mean by merge in oracle?
What is execute immediate in oracle?
HI, Please let me know the syllabus for Oracle OCA and OCP Certification
What is set verify off in oracle?
How many types of tables are there in oracle?
How to use "if" statements on multiple conditions?
What are a collation and state the different types of collation sensitivity?
What are internal user account in oracle?
Explain do view contain data?
What is the difference between 10g OEM and 11g OEM?
What is the max number of columns in an oracle table?
What is catalog in Oracle?
Explain compound trigger in oracle?