I have the problem of splitting the the table into following way.
Pl help me in doing it
Actual table
Product Id ProductQty CompCapacity
1 8000 5000
2 10000 5000
4000
4000
Resultant table
Product Id ProductQty CompCapacity
2 5000 5000
2 5000 5000
1 4000 4000
1 4000 4000