How to get Top 10 Salaries from a Table
Answer Posted / rajesh
db2 "Select Sal from table_name order by sal desc fetch
first 10 rows only with ur"
here i defined an isolation level with ur,so don't be confused.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How can the duplicate values be eliminated from db2 select?
How do you select a row using indexes in db2?
What is a Foreign Key?
Explain about rct in db2?
What is the difference between cursor and select statement?
How can you classify the locks in db2?
Why do we need reorg in db2?
What is cursor with hold option in db2?
How is deadlock resolved?
What is page size in db2?
Explain in detail about buffer manager and its functionalities?
What is meant by union and union all?
What are the contents of dclgen?
what is the sqlcode -501
How do I import data from excel to db2?