I'm working in SQL 2008. My table is 3 COLUMNS x 9546 ROWS, WHERE DATA IS LIKE
Type Age Value
0 30 .24
0 31 .54
0 32 .34
.
.
.
0 115 .23
1 30 .45
1 31 .33
.
.
.
1 115 .32
2 30 .11
.
.
.
2 115 .22
.
.
.
110 115 .86
I want the final table to look like
Type 30 31 32 . . . 115
0 .24 .54 .34 . . . .23
1 .45 .33 . . .
.
.
.
110 . . .
Basically, Type goes vertically and Age goes horizontally.
What is the simplest way to doing this?
Thank you!!