title: Fetching last insert id shows wrong number
body: <p>I have table with three records. There is one filed as auto_increment. The ID's are 1, 2, 3...</p>
  
  <p>When I run query</p>
  
  <pre><code>SELECT LAST_INSERT_ID() FROM myTable
  </code></pre>
  
  <p>The result is 5, even the last ID is 3. Why?</p>
  
  <p>And what is better to use? LAST_INSERT_ID() or SELECT MAX(ID) FROM myTable?</p>