Getting grades for each course per student, for each course per group,
and for all courses per student