title: sql query - how to avoid "virtually" duplicate records depending on time
body: <p>How can I do a sql query that will return all the records in a table except for those that have less than 2 seconds difference to another record?</p>
  
  <p>Example - Consider these 5 records:</p>
  
  <pre><code>16:24:00
  16:24:10
  16:24:11
  16:24:12
  16:24:30
  </code></pre>
  
  <p>The query should return:</p>
  
  <pre><code>16:24:00
  16:24:10
  16:24:30
  </code></pre>
  
  <p>Any help would be massively appreciated</p>