Hi, quick question, hopefully a simple answer...
I am tasked with returning a set of records from a table in which there can be several records for the same item with differing timestamps. I need to get the most recent record for each item from the table. I'm pretty sure a SELECT DISTINCT won't do the job here since by virtue of the timestamp, the records are unique. Likewise, I don't think TOP will work either. How can I get the data I'm looking for here? Thanks.
Craig
I am tasked with returning a set of records from a table in which there can be several records for the same item with differing timestamps. I need to get the most recent record for each item from the table. I'm pretty sure a SELECT DISTINCT won't do the job here since by virtue of the timestamp, the records are unique. Likewise, I don't think TOP will work either. How can I get the data I'm looking for here? Thanks.
Craig