Have a look at a Group By, or Totals query. With your query in design view, click on the Sigma (Σ) button, you will notice that new row appears in the query design grid, Totals, amongst the additional option this will provide is Group By, and Sum. So you could group by student and then Sum or count their result dependant on the result you are looking for.