sql server 2005 - Rows to Columns using Sql Query -
Hello I have a table with column
Cost rate repair 12 repair 223 Wear 1000 Wear 666 Fuel 500 Repair 600 Fuel 450 Wear 400
Now I Need This Data
Wear Repair Fuel 825 2066 950
Using SQL Query
Thanks in advance
Choose the amount in the form of repair (case when cost = 'wear', then rate and tap end), wear, zodiac (in case when cost = Fuel Cost Ratet
Comments
Post a Comment