Staples1311 0 Newbie Poster

I am creating a project for school that I have a database in in and it will give you a list of the top 5 most fuel efficent cars per class. So I have all the database done now I just need examples for coding. I have check circles (sory Noob) to choose the class and 5 text boxes to show the top 5 cars. Can someone please give me a code example for all parts of the coding as I am very new at this. Thanks In Advance.