0
I have records of a truck’s route on a chart.
===================================================
This example up there I have 5 records I picked up in the table checking Speed > 0 The records from 1 to 3 we realized that it is sequential. Then there was a pause and the truck went back to walk 2 hours later.
If I add the time in the SQL query it will give that it worked 1 day, 2 hours and a few seconds. When it was actually 30 seconds (1 to 3). E had 2 more Tarts day 30( nº 4) and day 31 (nº 5).
How do I get the total amount of hours or seconds worked ? Note the table has more than 500 thousand records. I wanted to take in the period of 1 week the amount of
I could explain your question better?
– Luiz Lanza
Your second paragraph is what screwed it up, could you explain it better? how to differentiate one from the other???
– novic
Time-date entries should have a departure or arrival indicator. Another database thing usually does not ignore the date, so to calculate hours will have to break the string.
– Krismorte