Query to get max and second max in oracle in one query ?
Answer Posted / mehul
select max(sal) from emp where sal not in ( select max(sal)
from emp)
Is This Answer Correct ? | 29 Yes | 12 No |
Post New Answer View All Answers
How to filter out duplications in the returning rows using oracle?
How to create a testing table in oracle?
what is the dual table in oracle?
What is a cursor and what are the steps need to be taken?
What are triggers in oracle?
How to do clean up if create database failed?
Is there a function to split a string in plsql?
how to clone 9i Database on to 10g Database.
What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar
How to assign a table row to a record variable?
Describe an oracle table?
How to define an oracle sub procedure?
State all possible different index configurations a table can possibly have?
What is logical backup in oracle?
Name the three major set of files on disk that compose a database in Oracle?