write a query for the fifth highest salary?

Answer Posted / bezalel

select salamt from
(
select rownum n,salamt from
(
select distinct salamt from emp order by salamt desc
)
)
where n=5

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the best graph database?

535


Explain various types of locks in a transaction? Which is better and why?

601


WHAT KIND OF TOOL BO IS?

1844


What are the types of joins?

633


Explain buffer manager?

555






What do you mean by cluster and non cluster index?

573


How to fetch/retrieve the data from hieranchical database and put it into the relational database? for e.g I want to extract the data from IMS DB2 database which is a hierarchical db and load that data into the relational database which is a SQL server.Are there any tools available for directing extracting data from hierarchical db and loading into the relational database (SQL server)?

1486


Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?

698


Can you tell any two advantages of stored procedures?

598


What is the purpose of TNS?

662


What is aws documentdb?

645


diff b/w inter process and in process

1562


i have windows-xp processor with P4 system. whenever I tried to download foxpro for windows 2.6 on windows XP, my operating system failed to install foxpro for windows 2.6.please. how could i download , install & run foxpro for windows 2.6 easily on windows XP ?

1642


How to shrink a database?

544


On startup, the transaction log of a database has filled and recovery has suspended, what can I do?

554