title: How to get the records from the past 1 hour in psql
body: <pre><code>SELECT * FROM auto_sync WHERE time &gt; UNIX_TIMESTAMP(NOW() - INTERVAL 1 HOUR);
  </code></pre>
  
  <p>I am trying to fetch data which get added in the past 1 hour from my query but it's throwing me an error on <em>Internal 1</em>. Thank you</p>