Skip to content
Advertisement

Calculate time difference in days:hours:min:sec format

I have this query: Wherein I have to calculate the time difference in Days:Hours:min:sec format

Output:

My question is, how to calculate the sum of the 2 rows?

My desired output is:

Advertisement

Answer

Find the difference in second & do aggregation :

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement