Check out example codes for "SQL server select to get sum of hours". It will help you in understanding the concepts better.

Code Example 1

SELECT DATEADD(ms, SUM(DATEDIFF(ms, '00:00:00.000', YourFieldName)), '00:00:00.000') as time FROM YourTableName

Learn ReactJs, React Native from akashmittal.com