title: Update based on Row number
body: <p>Please consider this table:</p>
  
  <pre><code>id       Col1         Col2
  --------------------------
  1        nima         null
  18       john         null
  25       sara         null
  </code></pre>
  
  <p>I have a select that retutn this records:</p>
  
  <pre><code>id         Col
  ---------------
  1          LA
  2          WA
  3          FL
  </code></pre>
  
  <p>I want to update this record on above table with same order that you see.for example update <code>LA</code> for <code>nima</code> and...</p>
  
  <p>How I can do this?</p>
  
  <p>thanks</p>