select - Need help in MySQL statement syntax to Sum Time -
i need in mysql select statement want make query sum on time while ignoring record if less ten minutes example:
02:00 01:30 00:15 00:09 ignore 00:03 ignore result should 03:45
i try following:
select sec_to_time( sum(time_to_sec(overtime))) late reports ;
please help.
select sec_to_time( sum(time_to_sec(overtime))) late reports overtime >= '00:10:00'
Comments
Post a Comment