1
Answer

Columns to rows in sql server 2008

vishal sahani

vishal sahani

12y
1.4k
1
Hi guys,

  I have a table like
a2
b
3
c
4
d
5
a
4
a
5
b
5

  i would like to change the rows to columns like

a
2
4
5
b
3
5

c
4


d
5




can you please help me do this.


Answers (1)