title: Calculate time difference in minutes in SQL Server
body: <p>I need the time difference between two times in minutes. I am having the start time and end time as shown below:</p>
  
  <pre><code>start time | End Time    
  11:15:00   | 13:15:00    
  10:45:00   | 18:59:00
  </code></pre>
  
  <p>I need the output for first row as 45,60,15 which corresponds to the time difference between 11:15 and 12:00, 12:00 and 13:00, 13:00 and 13:15 respectively.</p>