I have a table of test dates and scores as follows:
EmpID
TestType
TestDate
TestScore
Subject
There are 3 types of tests that employees need to take yearly, potential in 2 or 3 subjects.
I need a query that will show:
EmpID, Subject, TypeA: latest test date, TypeA: latest test score, TypeB: latest test date, TypeB: latest test score, TypeC: latest test date, TypeC: latest test score
But am having trouble getting the max bit to work. I've considered subqueries and also just iif statements, but can't get it working.
Thanks for the help.
Start Free Trial