I am getting data in 6 columns. How can I sort these columns into their values and store them to either new column or the same column.
Input
ID N1 N2 N3 N4 N5 N6
1 6 4 5 3 1 2
2 42 43 46 45 48 47
Desired Output
ID N1 N2 N3 N4 N5 N6 S1 S2 S3 S4 S5 S6
1 6 4 5 3 1 2 1 2 3 4 5 6
2 42 43 46 45 48 47 42 43 45 46 47 48
SE-Data
Same thing but using
pivotinstead of XML.SE-Data