title: Clone row and point to the new row
body: <p>I managed to clone a row from <code>table_source</code> into <code>table_temp</code>, 
  and update its field <code>f0</code>. </p>
  
  <p>But how can I point to the new inserted row?</p>
  
  <p>I want to insert the new inserted id from table <code>table_source</code> into the field <code>f_id</code> in <code>table2</code>:</p>
  
  <pre><code>INSERT into table_temp (f0, f1, f2)  
    select f0, f1, f2 from table_source   
    where . . .
  
  UPDATE table_temp SET f0 =  'newValue'  
  
  INSERT INTO table_source select * from table_temp  
  
  UPDATE table2 SET f_id = ??? WHERE . . .      &lt;- what id can I use here?
  
  DELETE FROM table_temp 
  </code></pre>