title: MySql: Insert a row and get the content
body: <p>Is it possible to insert a row and get the values inserted in the same query?</p>
  
  <p>Something like...</p>
  
  <pre><code>INSERT INTO `items` (`item`, `number`, `state`) 
  (SELECT '3', `number`, `state` FROM `item_bug` WHERE `id`='3')
  </code></pre>
  
  <p>And then, get ID and execute a</p>
  
  <pre><code>SELECT * FROM `items` WHERE `id`='$id'
  </code></pre>
  
  <p>But using only one query.</p>