title: SQL Query by created 3 hours ago
body: <p>Given a set of data with <code>date_created</code> stored like <code>2017-04-13 23:29:52</code>, how would I construct an SQL query to select all items that were created within the last 3 hours? </p>
  
  <p>I originally thought to do something like this:</p>
  
  <pre><code>SELECT
    *,
    MAX(date_created)
  FROM items
  GROUP BY date_created
  </code></pre>
  
  <p>but that would not be exactly what I want. I'm not sure how to go about this. </p>