title: How to select the sencond,third record of each category?
body: <p>I want get the 2nd and 3nd largest of each category? How to do this ? <em>Sorry my bad English</em></p>
  
  <p>I have table tin_tuc like this</p>
  
  <pre><code>||id || id_cat ||some information
  ||1  || 1      ||      
  ||2  || 1      ||
  ||3  || 1      ||
  ||4  || 1      ||
  ||5  || 2      ||
  ||6  || 2      || 
  ||7  || 3      ||
  ||8  || 3      ||
  ||9  || 3      ||
  </code></pre>
  
  <p>Now i want to get two record each category that have value large 2nd and 3th(top 3 except largest value).<br>
  the out put i want</p>
  
  <pre><code>||id || id_cat ||some information
  ||2  || 1      ||
  ||3  || 1      ||
  ||5  || 2      ||
  ||6  || 2      || 
  ||8  || 3      ||
  ||9  || 3      ||
  </code></pre>