Fairly simple question.
I have a table with two TIME columns, time_in and time_out. I'd like to be able to calculuate the length of time between the two, in number of hours.
I.E.,
time_in time_out
08:30:00 17:00:00
Returns 8:30 or even 8.5.
SELECT time_out - time_in doesn't work... (returns 87000 in this case.)