I have a sql view that has the following data.
OrderID | ProductID | Qty | Color | Size |
1 15 10 Blue L
1 15 20 Blue S
I need to get it into a view to look like this
OrderID | ProductID | Size1 | Size2 | Size3 | Color | Size1Display | Size2Display | Size3Display
1 15 20 10 Blue S L
Is this possible? I have looked at PIVOT tables but not sure if this is a good solution.
Start Free Trial