HI Friends,
Please find below tabl, I want to pivot Column1 and Column2 Both,
Please find resultSet below it.
TableA | |||||||||
ID | Name | column1 | Value1 | column2 | value2 | ||||
1 | Jonh | a | 1 | p | 10 | ||||
2 | Raman | b | 2 | q | 11 | ||||
3 | Chris | c | 3 | r | 12 | ||||
4 | Nick | d | 4 | s | 13 | ||||
ResultTable | |||||||||
ID | Name | a | b | c | d | p | q | r | s |
1 | Jonh | 1 | 10 | ||||||
2 | Raman | 2 | 11 | ||||||
3 | Chris | 3 | 12 | ||||||
4 | Nick | 4 | 13 |
Please help me with the queries.
THanks In Advance,
Parixit