I'm looking for a quick efficient way to convert:
ID Type Amount
0 Damages 1
0 Other 2
1 Damages 3
1 Other 4
2 Damages 5
2 Other 6
To
ID Damages Other
0 1 2
1 3 4
2 5 6
There are around 200,000 records in the table, using SQL Server 2008.