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
Where do you use decode and case statements?
Give the advantages and disadvantages of clusters.
What is literal?
What is the dynamic sql in oracle?
Can we save images in a database and if yes, how?
How to convert character types to numeric types?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
How to use subqueries with the exists operator in oracle?
What is object data modeling?
Can I create users through internet explorer in oracle 10g?
Explain coalesce function?
How to shutdown your 10g xe server from command line?
How to drop an existing view in oracle?
Explain the importance of .pll extension in oracle?
How to create a table index?