i want department wise maxmum salary and empolyee name
Answer Posted / sanjay pradhan
select ename,sal,deptno from emp where (deptno,sal) in
(select deptno,max(sal) from emp group by deptno);
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Explain the use of file option in exp command.
How do we create privileges in oracle?
What are the types of partitions in oracle?
What is merge statement used for?
How will you differentiate between varchar & varchar2?
when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.
What is data type in oracle?
What is hash cluster in oracle?
How index is implemented in oracle database?
How to start your 10g xe server?
What happens if you set the sga too low in oracle?
How does Oracle guarantee data integrity of data changes?
How to add a new column to an existing table with a default value?
What do you mean by merge in oracle and how can you merge two tables?
What are the data types in oracle?