title: Returning the last data's id on MySql
body: <p>I have a table, in this table I have 10 rows, in these 10 rows I only want to return the data 1-5 and get the last result id.</p>
  
  <p>I have tried</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT id FROM my_list ORDER BY id DESC LIMIT 5
  </code></pre>
  
  <p>but this gives me the result 10-6 instead of 5-1.</p>