How to caculate sum of times of my colonne called \"timeSpent\" having this format: HH:mm in SQL? I am using MySQL.
the type of my column is Time.
it has th
100% working code to get sum of time out of MYSQL Database:
SELECT SEC_TO_TIME( SUM(time_to_sec(`db`.`tablename`))) As timeSum FROM `tablename`
Try and confirm. Thanks.