How to get Top 10 Salaries from a Table
Answer Posted / abirami
Sorry.. Answer 1 given by me is incorrect.
Correct Query is
select disntinct salary from tablename
Order by salary
Fetch first 10 rows only
| Is This Answer Correct ? | 9 Yes | 13 No |
Post New Answer View All Answers
Is the primary key a clustered index?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
List down the types of triggers in the db2 database?
How to check table size in db2 sap?
What are the full forms of spufi and dclgen and why are they used?
What is temporal table in db2?
What are host variables in db2?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
What is the difference between oracle and db2?
What os does db2 run on?
When reorg is used?
Mention the definition of cobol in varchar field.
What are packages in db2?
What is universal database?
Which component is used to execute the sql statements?