title: Filter Results in SQL
body: <p>Suppose I have a table</p>
  
  <pre><code>  id            value
  ------        ---------
    10              123
    10              422
    11              441
    11              986
    12              674
    13              648
  </code></pre>
  
  <p>I need a query which will return only those id's which have 2 or more values associated with them. So, in that case it will only return ID 10 &amp; 11, but i need al the records.</p>
  
  <p>so the result looks like:</p>
  
  <pre><code> id            value
  ------        ---------
    10              123
    10              422
    11              441
    11              986
  </code></pre>
  
  <p>Thank you.</p>