How can I convert rows into columns.
initial structure
Needed Output:
OrderId -> Product1 -> QuantityOfProduct1 -> ... ProductN -> Q