Hello,
I have a table of temperature changes over time:
item no. time temp.
1 09:05 44.2
1 09:06 44.4
1 09:08 45.2
1 09:09 45.8
2 09:12 43.0
2 09:13 44.0
2 09:15 46.0
3 09:18 21.0
3 09:19 22.0
3 09:20 23.0
How can I select the last temperature value for each item such that the output would be
item no. time temp.
1 09:09 45.8
2 09:15 46.0
3 09:20 23.0
Have tried sub queries based around MAX(time) but this returns those values that were taken at 23:59
Many thanks in advance
I have a table of temperature changes over time:
item no. time temp.
1 09:05 44.2
1 09:06 44.4
1 09:08 45.2
1 09:09 45.8
2 09:12 43.0
2 09:13 44.0
2 09:15 46.0
3 09:18 21.0
3 09:19 22.0
3 09:20 23.0
How can I select the last temperature value for each item such that the output would be
item no. time temp.
1 09:09 45.8
2 09:15 46.0
3 09:20 23.0
Have tried sub queries based around MAX(time) but this returns those values that were taken at 23:59
Many thanks in advance