title: How to get current last 5 row from the table
body: <p><strong>I have 13 row in my table</strong></p>
  
  <pre><code>id
  13
  12
  11
  10
  9
  8
  9
  7
  6
  5
  4
  3
  2
  1
  </code></pre>
  
  <p><strong>i want last 5 row which is id&lt;10</strong></p>
  
  <p>so i have implement</p>
  
  <pre><code>select * from emp where id&lt;10 LIMIT 5 ORDER BY DESC;
  </code></pre>
  
  <p><strong>but it give me this output</strong></p>
  
  <pre><code>5
  4
  3
  2
  1
  </code></pre>
  
  <p><strong>But i want</strong></p>
  
  <pre><code>9
  8
  7
  6
  5
  </code></pre>