MySQL – How to SUM times?

I think you have to use this code… it works 🙂

SELECT  
  SEC_TO_TIME( SUM( TIME_TO_SEC( `time` ) ) ) AS total_time  
FROM time_table;

Leave a Comment