how to get the second max val for every group in a table
Answer Posted / abc
select max(sal) from emp_test where sal not IN(select
max(sal) from
emp_test group by deptno)group by deptno;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How do you tell what your machine name is and what is its IP address?
Is there any function in oracle similar like group_concat of mysql?
Explain the difference between a procedure and a function?
How do I start tns listener?
Does oracle partitioning improve performance?
What is MTTR advisor in Oracle?
What is the sql query to concatenate column values from multiple rows in oracle?
What is a dynamic performance view in oracle?
Why we use bulk collect in oracle?
What are the different editions of oracle?
Explain oracle insert into command?
What is the scope of a local variable?
What is integrity and what is constraint??Explain with example
How to work with data objects interactively?
What is an Oracle index?