There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........

Answer Posted / rajib

select max(salary) from staff where salary not in(select
salary from staff order by salary desc fetch first 4 rows
only)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you simulate the explain of an embedded sql statement in spufi/qmf?

637


What is check constraint. Explain with example.

649


How to access db2 tables in mainframe?

615


Define check constraint.

644


What is the purpose of rollback and commit?

595






How do I add a column to an existing table in db2?

592


What is db2 instance?

592


Which component is responsible for db2 startup and shutdown?

630


On which levels locks can be applied?

659


How and when does the db2 enforces the unique key?

615


How to check sequence on a table in db2?

600


What is temporal table in db2?

603


What is node in db2?

609


What are the contents of dclgen?

659


Why do we bind in db2?

631