title: Second maximum and minimum values
body: <p>Given a table with multiple rows of an int field and the same identifier, is it possible to return the 2nd maximum and 2nd minimum value from the table. </p>
  
  <p>A table consists of </p>
  
  <pre><code>ID      |   number
  ------------------------
  1       |     10
  1       |     11
  1       |     13
  1       |     14
  1       |     15
  1       |     16
  </code></pre>
  
  <p>Final Result would be </p>
  
  <pre><code>ID      |   nMin    |   nMax
  --------------------------------
  1       |     11    |    15
  </code></pre>