I would like to get a single record for each distinct Name from example table below with the most recent Date.
I would hope for the result for the query to give:
Mark Checked_in 04-AUG-15 Blue
Dan Checked_in 08-JUL-15 Yellow
Example table:
Name Action Date Color
Mark Checked_in 04-AUG-15 Blue
Mark Checked_in 02-AUG-15 Black
Dan Checked_in 02-JUL-15 Orange
Dan Checked_in 08-JUL-15 Yellow