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
What is null indicator in cobol db2?
How to connect to db2 database from windows command line?
What is the difference between cursor stability and repeatable read isolation levels?
What is the usage of open cursor command?
How do I add a column in db2?
How do we specify index to include or not during bind process.
What are the different types of base tables?
What is a db2 tablespace?
What is the role of union all and union
What is the difference between oracle and db2?
What is the maximum No of rows per page?
Outputs of explain are with matchcols = 0. What does this signify?
What is the role of data manager in the db2 database?
What is access path in db2?
What is lock escalation in db2?