I am trying to retrieve the most recent 'topic 1 value' for each detailsID for the most recent date per detailsID.
I was thinking something along the lines of:
SELECT detailsID,`Topic 1 Scores`, MAX(Date)
FROM Information.scores
WHERE `Topic 1 Scores` IS NOT NULL
GROUP BY `detailsID`,`Topic 1 Scores`
Is printing;
detailsID, Topic 1 Scores, MAX(Date)
2 0 26/09/2017
2 45 26/09/2017
2 100 26/09/2017
3 30 25/09/2017
3 80 14/10/2017
Rather than actually selecting the most recent date per detailsID?