I realized after posting here that it was better placed in the sql forum. Thank you for reading and if you were intrested the solution provided was:
SELECT TubeDestination, MAX(TimeSent)
FROM Table1
Where TimeSent < dateadd(hh,-1,getdate())
GROUP BY TubeDestination">
|