title: sort particular rows using mysql order case
body: <p>I have a table with incremented id from 1,2,3...and so on. What i want is just to sort the data in descending order on the basis of field 'id' except first two rows. I tried using below query:-</p>
  
  <pre><code>SELECT * FROM categories ORDER BY CASE WHEN id&lt;3 THEN 0 ELSE id END DESC
  </code></pre>
  
  <p>It give me the result like</p>
  
  <pre><code>id    name
  5     Meal
  4     Apparel
  3     Electronics
  1     Sports
  2     Lifestyle
  </code></pre>
  
  <p>But output should come like</p>
  
  <pre><code>id    name
  1     Sports
  2     Lifestyle
  5     Meal
  4     Apparel
  3     Electronics
  </code></pre>
  
  <p>Is there any way to achieve this by using such query?</p>