There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........
Answer Posted / abhusha
SELECT SAL FROM EMP A
WHERE 5 = (SELECT COUNT(*) FROM EMP B
WHERE B.SAL >= A.SAL)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define db2.
what is the role of the cursor in db2?
What is consistency token in db2?
How do I import a csv file into db2?
What does a deadlock mean in DB2?
What r the comman abends in db2, jcl and cobol???????
What are the benefits of using the db2 database?
What is a db2 table?
What is the maximum No of rows per page?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
what is db2 restart?
What is the role of union all and union
What is meant by explain?
How do I delete a column in db2?
What is runstats and reorg in db2?