There is a Database Table of Student Details with Fields Student Id, Student Name, Class ID and Rank. Now how to fetch the first three students with highest ranks from all Classes.

Answer Posted / vinay

in the select statement use the max keyword and select up to
3 rows .

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different data types in abap/4?

713


How will you insert record in a sorted table

1033


What are the two different ways of building a match code object?

766


How do you convert non-char field into char type fields ?

1940


What is luw or data base transaction ?

781






What are field groups?

776


What are the system fields you have worked with? Explain?

844


How do you populate data into a multiple line field? : abap bdc

827


What are base tables of an aggregate object?

819


How to define selection screen?

769


What is tcode se16. For what is it used. Explain briefly?

724


What is going life actually? What is the role of a functional consultant in it? : sap abap hr

747


How do we assign dynamic views while creating material master and generating bdc? : abap bdc

867


How is conversion of data types done between abap/4 & external level? : abap data dictionary

855


What data is contained in data dictionary? : abap data dictionary

855