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 cursor with hold option in db2?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is concurrency?
Explain in detail about buffer manager and its functionalities?
What are catalog tables in db2?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
How do I add a column to a table in db2?
What is dbrm library?
What are the various data types available in db2?
What type of database is db2?
Define buffer pool.
What is bind plan?
How connect db2 database to datastage?
What is iseries database?
Explain about cursor stability?