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

Answer Posted / girish

select * from agdet a where 5 >= (select commission from
agdet a , agdet b where b.commission > = a. commission)with
ur;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the lockable units in DB2?

665


What is bind plan?

616


How do I delete a column in db2?

681


How do I add a column in db2?

596


What does runstats do in db2?

607






How do I delete a table in database?

601


How do you concatenate the firstname and lastname from emp table to give a complete name?

605


What is table space in db2?

584


i want to maintain uniqueness on pdf without make lf??????????

1637


Explain various types of locks in db2?

694


What is cursor in dbms?

595


How to find primary key of a table in db2?

617


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

614


What is bind package and plan in db2?

597


What is netezza database?

576