title: How to divide hour to minute in MySQL?
body: <p>I have a table <code>Time</code> with column <code>StartTime</code>:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>ID</th>
  <th>StartTime</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>08:00:00</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>Now I want to find the time difference between <code>StartTime</code> and <code>09:00:00</code>, divide it by 3 to result in 20min. How can I do something like this?</p>
  <pre><code>SELECT ('09:00:00' - (SELECT StartTime FROM Time) / 3)
  </code></pre>
  <p>Output should be <code>'00:20:00'</code></p>