By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
15 rows affected
| C_ID | Trans_ID | Remarks | Debit | Credit | Balance |
|---|---|---|---|---|---|
| 1222 | 0 | Opening | 2023-10-18 | null | 5500.00 |
| 1222 | 0 | 2023-10-17 | 0.00 | 5500.00 | |
| 1222 | 1 | 2023-10-18 | 0.00 | 55500.00 | |
| 1222 | 2 | 2023-10-18 | 0.00 | 105500.00 | |
| 1222 | 3 | 2023-10-18 | 44444.00 | 61056.00 | |
| 1222 | 4 | 2023-10-18 | 0.00 | 105500.00 | |
| 1222 | 5 | 2023-10-19 | 44444.00 | 61056.00 | |
| 1222 | 6 | 2023-10-20 | 0.00 | 61556.00 |
| ID | E_Date | Remarks | Debit | Credit | Balance |
|---|---|---|---|---|---|
| null | null | Opening | null | null | 100500.00 |
| 5 | 2023-10-19 | 0.00 | 44444.00 | 61056.00 | |
| 6 | 2023-10-20 | 500.00 | 0.00 | 61556.00 |