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...

A database table contains 3
fields(Student_no,Section,Total_marks).I want retrieve top 10
students from each section.Note:(Section contains data like
A,B,C.Each section contains more than 10 students).

Answer Posted / sivaramakrishna

according to our requirment
get allthe records using select * from st_db into stu_itab1.
1.first sort the stu_itab1 by marks field.
now use the select single section from st_db into stu_itab2.
now we have to use select for all entries as below.
select section marks from stu_itab1 into table stu_itab3
for all entries in stu_itab2 upto 10 rows.

it may be not exact . but do try in this way

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Specify the types of data dictionary objects.

1009


What is the difference between ABAP and HR ABAP

3588


What is a database view? : abap data dictionary

1106


Explain what is a foreign key relationship? Explain this with the help of an example.

1072


WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.

2288


If I want to execute a program only in background not in foreground is there any option for this? : abap bdc

1017


What are smart forms?

1187


What is open sql?

1228


Explain what is sap script? What is the purpose of sap script?

1100


What is a projection view? : abap data dictionary

1078


What are the major steps will you use for tuning?

1065


What are the different buffering methods?

1041


What is a type group?

950


What are the different types of luws?

1184


dear friends, do you know how to configure web dynpro and adobe into ECC6.0 IDES?

2958