SELECT id,name, prj,SUM(TIMEDIF F(end_time,star t_time)) AS elapsed
FROM work
group by name,prj;
The problem is, I need elapsed in a datetime format, and SUM truncates to
integer hours.
Is there no way to do this?
I just want the group sums as hours, minutes, dats, months, years.
FROM work
group by name,prj;
The problem is, I need elapsed in a datetime format, and SUM truncates to
integer hours.
Is there no way to do this?
I just want the group sums as hours, minutes, dats, months, years.
Comment