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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -