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
What is reorg?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
Differentiate between cs and rr isolation levels? Where do you specify them?
What is a db2 schema?
What is buffer pool and list some of them?
What kind of database is db2?
What is the difference between db2 and oracle?
Explain in detail about buffer manager and its functionalities?
If I have a view which is a join of two or more tables, can this view be updateable?
Define db2 and its databases?
How do I add a column in db2?
What is database manager in db2?
What is the default page size of buffer pools?
What is cursor in dbms?
What is rebind in db2?