How to get Top 10 Salaries from a Table
Answer Posted / shammi
SELECT *
FROM (select * from employee ORDER BY salary desc) employee2
WHERE rownum <= 10
ORDER BY rownum;
correct me if am wrong
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is bind plan?
What is cursor stability in db2?
How to restart a DB2 program?
What are union and union all?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
How to resolve deadlock issue
what is db2 restart?
What are bind parameters in db2?
What is buffer pool?
what is the role of the cursor in db2?
What is the syntax for seeing the columns and data types of a table in the db2 database?
Define buffer pool.
If I have a view which is a join of two or more tables, can this view be updateable?
How connect db2 database to datastage?
What are the bind parameters ibm db2?