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

Answer Posted / satish kalynm

SELECT * FROM T999 WHERE SAL<(SELECT MAX(SAL) FROM T999
WHERE SAL<(SELECT MAX(SAL) FROM T999 WHERE SAL<(SELECT
MAX(SAL) FROM T999 WHERE SAL<(SELECT MAX(SAL) FROM T999))));

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of database is db2?

525


What is node in db2?

609


Highlight all the advantages that are attached to a package.

629


What is difference between rollback and commit?

634


List down the data types in the db2 database.

634






What is the use of commit in db2?

634


What is db2 bind process?

757


How to find primary key of a table in db2?

615


Discuss about db2 bind?

673


What is a Foreign Key?

657


What is access path in db2?

564


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

10775


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1580


Outputs of explain are with matchcols = 0. What does this signify?

619


What is db2 catalog database?

582