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
Explain the use of rows option in exp command.
What is a nvl function?
How to loop through a cursor variable?
Why should I use oracle database?
Explain the features of oracle?
How to sort output in descending order in oracle?
What is oracle latest version?
What is a proxy object?
Design database draw er diagram for a certain scenario ?
How to use in conditions in oracle?
What is the difference between substr & instr functions?
What is oracle join syntax?
What is a table index?
What are the uses of a database trigger?
Explain the use of grant option in exp command.