Each training class is a different record?
You can sort by student ID to group the records by Student ID. In a list view, a sub summary layout part can be used with a summary field to show sub-totals specific to that Student ID.
And if you leave out the body layout part and keep just the sub summary layout part, you'll have one row of data for each student.
See this thread for a tutorial on summary reports: Creating Filemaker Pro summary reports--Tutorial