Need To Pull Most Recent Record By Timestamp Per Unique ID
I'm going to apologize up front, this is my first question on stackoverflow... I am attempting to query a table of records where each row has a VehicleID, latitude, longitude, timestamp and various other fields. What I need is to only pull the most recent latitude and longitude for each VehicleID. edit: removed the term unique ID as apparently I was using it incorrectly. If the Unique ID is truely unique, then you will always have the most recent latitude and longitude, because the ID will change with every singe row. If the Unique ID is a Foreign Key (or an ID referencing a unique ID from a