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
Explain package in db2 and its advantages?
What is bufferpool in db2?
Explain the contention situations caused by locks?
How will you return the number of records in table?
On which levels locks can be applied?
How to create db2 table in mainframe?
How do I import a csv file into db2?
How to execute stored procedure in db2 command editor?
How does cobol compile db2 program?
What is alias in db2?
What is the max length of sqlca?
What is the use of reorg in db2?
Give a brief description of db2 isolation levels?
What is blu acceleration in db2?
Can we update view in db2?