Possible Duplicate:
calculate a sum of type time using sql
Third duplicate - please stop & focus on the original question.
RDBMS: mysql
column names: Timefrom,timeuntill, timespent as the following
type of the column:Time.
timefrom timeuntill timespent
10:00:00 12:00:00 02:00:00
08:00:00 09:00:00 01:00:00
how could i get the sum of the timespent. like this example it would be 03:00:00. when doing select sum(timespent) from mytable it display: 030000.
please help. thanks.