add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
A B C QTY
A1 B1 C1 10
A1 B1 C1 30
A1 B2 C1 20
A1 B2 C2 15
A1 B3 C1 10
A1 B3 C4 5
A2 B2 C1 40
A2 B3 C1 10
A2 B3 C4 5
A B C QTY ATEMP AORDER BTEMP BORDER
A1 B1 C1 40 A1 1 B1 1
null B2 C1 20 A1 2 B2 1
null null C2 15 A1 3 B2 2
null B3 C1 10 A1 4 B3 1
null null C4 5 A1 5 B3 2
A1 null null 90 A1 7 null 0
A2 B2 C1 40 A2 1 B2 1
null B3 C1 10 A2 2 B3 1
null null C4 5 A2 3 B3 2
A2 null null 55 A2 4 null 0