cancer10
02-16-2009, 05:12 PM
Hi
I am trying to find out the time difference between two cols in my table
select TIMEDIFF(time_out,time_in) from mytable
The result is being displayed in multiple rows like
00:19:56
00:25:22
01:33:12
Is there anyway I can sum or add all these rows and display the sum in HH:MM:SS format in one single query (modifying the above query)?
Thanx in advance
I am trying to find out the time difference between two cols in my table
select TIMEDIFF(time_out,time_in) from mytable
The result is being displayed in multiple rows like
00:19:56
00:25:22
01:33:12
Is there anyway I can sum or add all these rows and display the sum in HH:MM:SS format in one single query (modifying the above query)?
Thanx in advance