i have table agdet i want first 5 maximum commission which
query will you write for this thanks in advance

Answer Posted / thiru

select * from agdet order by commission fetch first 5 rows
only for read only with ur

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in detail about buffer manager and its functionalities?

573


What is the latest version of ibm db2?

750


Can there be more than one cursor open for any program?

668


What is db2?

750


How connect db2 database to datastage?

779






What is dbrm? When it will be created?

607


What is ibm db2 client?

529


What is blu acceleration in db2?

613


How to find the number of rows in db2 tables?

623


How to retrieve rows from a db2 table in embedded sql?

739


What is the difference between plan and package in db2?

584


Who uses db2?

585


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

723


My sql statement select avg(salary) from emp yields inaccurate results. Why?

652


What is the information associated with sysibm.syslinks table?

669