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
Explain what are the characteristics of data files?
How to store pictures on to the database?
Is there a combination of "like" and "in" in sql?
Why use resource manager in Oracle?
Explain the importance of .pll extension in oracle?
How to create an oracle database?
How to run create database statement?
What is bulk load in oracle?
Does oracle partitioning improve performance?
How would you begin to troubleshoot an ORA-3113 error?
What is Segment Advisor in Oracle?
How to convert a string to a date in oracle database?
What are a collation and state the different types of collation sensitivity?
What are oracle functions?
How to store only time; not date and time?