i have book,employee, time_start and time_end columns.
i have to get the total time spent in every book.
how can i get the total time spent?
e.g.
time_start - time_end
10:00 - 10:30
10:31 - 11:00
11:00 - 11:30
11:30 - 12:00
how can i get 10:00(time_start,first row) - 12:00 (time_end, last row)?
pls advice
thanks