title: Help with a SQL query
body: <p>How would I go about this? I have 3 rows like so:</p>
  
  <pre><code>ID         THREAD         POST
  1            1              Hello World
  2            2              Hello galaxy
  3            2              Hello people
  </code></pre>
  
  <p>I need to return ID, Thread, and Post once for each thread only using the lowest ID.</p>
  
  <p>something like:</p>
  
  <pre><code>SELECT * FROM table WHERE THREAD DISTINT AND ID = MIN(ID)
  </code></pre>
  
  <p>Edit: To be more clear in this example it should only return the rows for 1 and 2 because 3 isn't the lowest ID with a Thread of 2</p>
  
  <p>Edit 2: it needs to return both rows 1 and 2.</p>