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 to test null values?
How will you write a query to get a 5th rank student from a table student_report?
What happens to indexes if you drop a table?
How to check the server version in oracle?
What is a nested table and how is it different from a normal table?
How many file formats are supported to export data?
How to export your own schema?
What is a parameter file in oracle?
What is a sub query? What are its various types?
How do I reset a sequence in oracle?
Explain the use of analyse option in exp command.
How to count groups returned with the group by clause in oracle?
How to use like conditions in oracle?
What is save point in oracle database?
Calculate difference between 2 date / times in oracle sql?