SELECT * FROM myTable t WHERE myTimestamp = (SELECT MAX(myTimestamp) FROM myTable WHERE myIDCol = t.myIDCol)
No comments:
Post a Comment