hi
i want to calculate the time diff bet 1st&2nd and 3rd&4th row of same column in sql
and calculate sum of the difference
in my table only two field
ID and time
Know the answer? Post it. Somebody with the same question will find it here.

Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishnu BhangaleRank #9,687 · 203 reputationPosted Feb 21, 2018, 6:24 AM EST
Rajneesh ChaubeyRank #1,073 · 1.8K reputationPosted Feb 21, 2018, 5:05 AM EST
Vishnu BhangaleRank #9,687 · 203 reputationPosted Feb 21, 2018, 5:38 AM EST
Rajneesh ChaubeyRank #1,073 · 1.8K reputationPosted Feb 21, 2018, 5:53 AM EST