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
Define data page.
How do I import data from excel to db2?
What is sqlca’s maximum length?
How do I change the column size in db2?
On which levels locks can be applied?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
How can record locking be achieved in those DB2 versions which do not support it?
What is the difference between spufi and qmf?
What are iseries servers?
What is the use of db2?
What is ibm db2 database?
what is the sqlcode -501
What is dbrm in db2 database?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
Explain what are the various isolation levels possible?