I have a table which has following layout(simplified)
It holds cancelled order qtys per productfor the last 5 weeks max eg
SKU QTY WEEK
1234 1 1
1234 1 2
1234 1 4
1234 1 5
4321 2 3
Is it possible to devise a query which will return
SKU Wk1Qty Wk2Qty Wk3Qty Wk4Qty Wk5Qty
for every SKU in table?
It holds cancelled order qtys per productfor the last 5 weeks max eg
SKU QTY WEEK
1234 1 1
1234 1 2
1234 1 4
1234 1 5
4321 2 3
Is it possible to devise a query which will return
SKU Wk1Qty Wk2Qty Wk3Qty Wk4Qty Wk5Qty
for every SKU in table?