write a query for the fifth highest salary?

Answer Posted / skumar

Hi, friends This one is working fine. I have tested.

SELECT TOP 1 t.esal
from
(
select top 5 esal from employee order by esal desc
) t
order by t.esal asc

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a super key?

636


What is ole db provider for sql server?

565


What do you mean by cluster and non cluster index?

581


When should you not use firebase?

624


issues involved in modeling and building data werahouses

1564






What are the advantages of using database?

556


WHAT IS CARDINALITIES OF JOIN?

1939


What is the Difference Primary key and Unique Key

590


What does currency type mean in database?

731


how do you do sql tuning?

1619


What is Object Oriented model?

630


What is database and its types?

567


How many indexes can be created on a table?

625


Explain alternate key?

654


sparse lookup and where its options we find in OCI and db2?

1755