I am having trouble displaying data from two tables, using what I think should be a group method. I currently have a table containing pupils, and another containing the grades achieved (points) each year and term. See below:
PupilID, FirstName, Surname, DOB
GradeID, PupilID, SchoolYear, Term, Points
I want to query both tables and display all pupils with their latest grade, this should look for the maximum SchoolYear, then the maximum Term, and display the Points alongside the PupilID, FirstName and Surname.
I would appreciate any help anyone can offer with this