title: Create a dynamic table based on existing table result in sql
body: <p>This is the actual table.</p>
  
  <pre><code>Month   RCount  Cond_Id Cond_desc
  Jan-13  52  -1  N/A
  Jan-13  194 0   NORMAL
  Jan-13  86  2   ABNORMAL
  Feb-13  54  -1  N/A
  Feb-13  158 0   NORMAL
  Feb-13  110 2   ABNORMAL
  Mar-13  14  -1  N/A
  Mar-13  113 0   NORMAL
  Mar-13  90  2   ABNORMAL
  Apr-13  3   -1  N/A
  Apr-13  259 0   NORMAL
  Apr-13  144 2   ABNORMAL
  May-13  10  -1  N/A
  May-13  693 0   NORMAL
  May-13  305 2   ABNORMAL
  May-13  1   4   CRITICAL
  Jun-13  169 0   NORMAL
  Jun-13  36  2   ABNORMAL
  Jun-13  1   4   CRITICAL
  </code></pre>
  
  <p>I need the following results.</p>
  
  <pre><code>R_id    Cond_Id Cond_desc   Jan-13  Feb-13  Mar-13  Apr-13  May-13  Jun-13
  1   -1  N/A         51  54  14  3   10  169
  2   0   NORMAL          194 158 113 259 693 36
  3   2   ABNORMAL    86  110 90  144 305 1
  4   0   CRITICAL    0   0   0   0   1   0
  </code></pre>