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 the difference between primary key, foreign key and candidate key?

648


Can a database table exist without a primary key?

540


What is the Difference Primary key and Unique Key

579


Explain artificial key?

742


List the properties of a transaction.

638






What is the best database?

527


Explain the field term used in database.

550


What is odm in database?

586


what is tkprof tool and how it is used???

2376


Explain transaction manager?

619


What is a super key?

630


List various types of log-based recovery in DBMS.

571


Explain entity type?

630


where can i free download sqlserver2008..i can install sqlserver2008 without visual studio 2008 and work on it

1580


Explain database partitioning. What is its importance?

679