title: mySql: how could i select every first or second row in table?
body: <p>For example in first table i have such data: id | text</p>
  
  <pre><code>1 | ololo
  1 | ololo_thumb
  2 | here
  2 | here_thumb
  </code></pre>
  
  <p>and i must select for each id first or second row, and put to second table , where i have such structure:</p>
  
  <pre><code>id | img | img_thumb
  </code></pre>
  
  <p>for example:</p>
  
  <pre><code>1 | ololo | ololo_thumb
  </code></pre>
  
  <p>could i do this in mysql, and how could i write something like %2 ?</p>