find out the third highest salary?
Answer Posted / nirad
select Top 1 *
from ( select top 3 * from Customer order by salary desc )
tempt
order by salary asc
if you want third lowest just desc with asc and asc with
desc and even if you want 2 or other hight value just
change inner query value of 3
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how to convert .db (extention) database file into .dmp (extention ) for oracle database ?
Calculate difference between 2 date / times in oracle sql?
How to experiment a data lock in oracle?
Is there an oracle sql query that aggregates multiple rows into one row?
Difference between varchar and varchar2 data types?
Why packages are used in oracle?
Explain about functional dependency and its relation with table design?
How to empty your oracle recycle bin?
What is the sql query to concatenate column values from multiple rows in oracle?
How to check database size in Oracle?
How to fetch the row which has the max value for a column?
What are the attributes that are found in a cursor?
What is an oracle wallet?
What is the relation of a user account and a schema?
What would you do with an in-doubt distributed transaction?