I have a table which has data in the below format.
id | col1 | col2 | col3
1 | d11 | d21 | d31
2 | d12 | d22 | d32
3 | d13 | d23 | d33
4 | d14 | d24 | d34
5 | d15 | d25 | d35
6 | d16 | d26 | d36
Is it possible to get the data in the below format.
id | 1 | 2 | 3 | 4 | 5 | 6
col1 | d11 | d12 | d13 | d14 | d15 | d16
col2 | d21 | d22 | d23 | d24 | d25 | d26
col3 | d31 | d32 | d33 | d34 | d35 | d36
I don't even have a basic idea. Anything is welcome.