i have table agdet i want first 5 maximum commission which
query will you write for this thanks in advance
Answer Posted / yuvaevergreen
exec sql
select commission from agdet order by commission desc
fetch first 5 rows only
end-exec;
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Which components manage deadlocks in db2?
What is dbrm? What it contains? When it will be created?
what is utility for parm lib
What are the 2 sqlcodes that are returned?
What is ibm db2 connect?
What does a deadlock mean in DB2?
How to create db2 table in mainframe?
What is alias in db2?
What is sqlca?
can all users have the privilage to use the sql statement select * (dml)?
How do you concatenate the firstname and lastname from emp table to give a complete name?
What is database reorganization?
How to rename a table in DB2 ?
What is the difference between bind and rebind in db2?
What is a Foreign Key?