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 package in db2 mainframe?
What is a buffer in memory?
Is db2 a database?
what is a corelated subquerry?
Is db2 a programming language?
How does coalesce work?
How can you do the explain of a dynamic sql statement?
What are the rules for db2 programming?
What happens in bind step in a db2 program?
What is the difference between cursor stability and repeatable read isolation levels?
What is a collection in db2?
What do you mean by rollback?
What is a db2 schema?
What is load replace in db2?
Is ibm db2 open source?