What should i query to update the next ROW2 and so on which will be deducted from previous row.
Row 1 which has 10 QTY and 5 BAL
on the next Row 2, get the Previou