Convert Rows into Columns... (Cross tab).

Hi genius,

I got the result set as shown below (By executing another query i got this).

Month   Status   Count
===== ======  =====
April   I   129
April   O   4689
April   S   6
July   I   131
July   O   4838
July   S   8
June   I   131
June   O   4837
June   S   8
May   I   131
May   O   4761
May   S    7

But, I need the same result set as below


Month   I        O       S
=====  =       =       =
April    129    4689    6
July     131    4838    8
June    131    4837    8
May     131    4761    7 
 

Can anyone provide me the tips/solution.

Thanks in advance

Regards,
j_jst



Answer this question

Convert Rows into Columns... (Cross tab).