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
What db2 400?
How does a cursor work?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is rebind in db2?
What is the role of schema in the db2 database?
What is the syntax for creating a table in the db2 database?
How can we read records for specific member in CL? AND rpg?
What is db2 catalog database?
How do I delete a column in db2?
What is the difference between cursor stability and repeatable read isolation levels?
List out the data types available.
What is the difference between plan and package in db2?
Outputs of explain are with matchcols = 0. What does this signify?
What is role in db2?
What does db2 plan contain?