Query to get max and second max in oracle in one query ?
Answer Posted / shashank yadav
Select Max(sal) from emp
where sal < any (select sal from emp);
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is transport network substrate (tns) in oracle?
Where do we use decode and case statements?
what is the difference between functional dependecy and multilevel dependency?
What are the oracle built-in data types?
Can we write dml statement in function in oracle?
Explain index?
What is a relational database management system?
Give the various exception types.
How to execute a stored program unit?
How to generate query output in html format?
Is oracle the best database?
How to run create database statement again?
how to convert .db (extention) database file into .dmp (extention ) for oracle database ?
what are bitmap indexes? How does they work?
Explain coalesce function?