I am facing a problem in Unpivot the table.
My table structure is
Code Level1Name Level1Email Level2Name Level2Email Level3Name Level3 Email
1 aa [email protected] bb [email protected] cc [email protected]
I need to convert this columns into Rows and need output like below
Code Info Level1 Level2 Level3
1 Name aa bb cc
1 Email [email protected] [email protected] [email protected]