Hi ,
I have some source data and target as shown below.
Input : | |||||
2011_01 | 2011_02 | 2011_03 | |||
col1 | col2 | col1 | col2 | col1 | col2 |
10 | 30 | 10 | 80 | 70 | 90 |
20 | 40 | 30 | 40 | 20 | 50 |
Output: | |||||
MONTH_ID | col1 | col2 | |||
2011_01 | 10 | 30 | |||
2011_01 | 20 | 40 | |||
2011_02 | 10 | 80 | |||
2011_02 | 30 | 40 | |||
2011_03 | 70 | 90 | |||
2011_03 | 20 | 50 |
I cannot use pivot transform also as input has not in the desired format.
How can i achieve this output.
Please help me in the logic.
Thanks & Regards,
Ramana.