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
My sql statement select avg(salary) from emp yields inaccurate results. Why?
can we view the access paths created by dbrm ? how ? thx
What is meant by union and union all?
Explain the function of data manager.
What is explain plan in db2?
Why do we bind in db2?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
Is ibm db2 free?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
Is db2 relational database?
Mention some fields that are a part of sqlca.
What is the maximum No of rows per page?
When do you specify the isolation level?
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 ?...
List down the types of triggers in the db2 database?