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 is view db2?
What is a bind in db2?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
Explain packages.
Which command is used to connect to a database in DB2 ? Give the Syntax.
How is a typical db2 batch pgm executed?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
Can there be more than one cursor open for any program?
What is the role of the data page in the db2 database?
What do you mean by cursor?
Define db2 and its databases?
Can we update view in db2?
What is syscat in db2?
What is a page in db2?
When do you specify the isolation level?