Hi,
I have a table that looks like this:
ItemID - Timestamp - Value
1 2020-04-30 11:22 232
2 2020-04-30 11:22 134
3 2020-04-30 11:22 23
1 2020-04-30 10:22 222
2 2020-04-30 10:22 112
3 2020-04-30 10:22 4
What would be the best way to select the row with the last timestamp for each Item ID dynamically? The result I’m looking for this in a table:
1 2020-04-30 11:22 232
2 2020-04-30 11:22 134
3 2020-04-30 11:22 23
Thanks for your help!