I\'m pulling data from a database and one of the tables contain two columns that together identify a location and another column containing a date of each time it was servic
Try
select category_a, category_b, max(date) as last_update from table group by category_a, category_b