How to get Top 10 Salaries from a Table
Answer Posted / meena dogra
The query will be like this:
Select distinct salary from table
order by salary desc
fetch first 10 rows only
| Is This Answer Correct ? | 31 Yes | 5 No |
Post New Answer View All Answers
What are concurrency issues?
What language is db2 written in?
What is isolation level in db2?
How do I delete a table in db2?
How many types of page locks can be held in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
Is db2 a mainframe?
How do I connect my db2 database to ibm?
How does coalesce work?
What is table space in db2?
What is check constraint. Explain with example.
Why cursor is used in db2?
Explain in detail about buffer manager and its functionalities?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?