Posted by Jim Michaels on 11/18/01 11:42
SELECT id,name, prj,SUM(TIMEDIFF(end_time,start_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.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming