I have data that looks like this in a table,
Item Attribute Value
---- --------- -----
cup color Red
cup size 16
cup type Plastic
Is it possible to run a query that will build a row like this,
Item color size type
---- ----- ---- ----
cup Red 20 Plastic
The table was built this way so I can add additional "Attributes" by only adding a new row. So the query needs to be able to add column based on the number of attributes an item has.
Any Ideas? Thanks