Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / 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

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

Answer / 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

More DB2 Interview Questions

what is Static and dynamic linking

1 Answers   Virtusa,


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

0 Answers  


Is db2 a programming language?

0 Answers  


Where is the access path logic created by the DB2 Optimizer stored?

1 Answers  


When one binds a PACKAGE ( of a plan ) what package information is stored and where it is stored?

3 Answers  


What is DYNSLT keyword? How do you perform selection using DYNSLT

1 Answers  


What is rct?

0 Answers  


How to resolve -803 sql code in DB2?

3 Answers   Cap Gemini,


what is the differences between spufi and qmf and which is better?

4 Answers   Accenture, Cap Gemini,


What is correlation names?

1 Answers  


How to insert more than one record using insert?

7 Answers   Atos Origin, IBM,


What are union and union all?

0 Answers  


Categories