I have a table with 3 fields and one is a Qty. If the Qty is > than a set amount I would like to split the row into a second row and/or third row
Row Order Product qty
1 123 AAA 25
Based on a max Qty of 10 I would like it to become
Row Order Product qty
1 123 AAA 10
2 123 AAA 10
3 123 AAA 5
Best Answer
fiddle