title: Calculate the Sum of duration in sql query
body: <p>I have a table which has two columns start time and end time. I am able to calculate the time duration for each row but I also want to get the total duration. how to do this.</p>
  
  <p>Thanks</p>