title: Calculating time difference between 2 dates in minutes
body: <p>I have a field of time Timestamp in my MySQL database which is mapped to a <code>DATE</code> datatype in my bean. Now I want a query by which I can fetch all records in the database for which the difference between the current timestamp and the one stored in the database is > 20 minutes.</p>
  
  <p>How can I do it?</p>
  
  <p><strong>What i want is:</strong></p>
  
  <pre><code>SELECT * FROM MyTab T WHERE T.runTime - now &gt; 20 minutes
  </code></pre>
  
  <p>Are there any MySQL functions for this, or any way to do this in SQL?</p>