SELECT
category_a,
category_b,
MAX(date)
FROM
Some_Unnamed_Table
GROUP BY
category_a,
category_b
ORDER BY
category_a,
category_b
I certainly don’t mind helping people when I can, or I wouldn’t be on this site, but did you really search for an answer for this before posting?