By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
12 rows affected
| transum_id | transum_amt | modsum_id | modsum_amt |
|---|---|---|---|
| 2 | 30 | 2 | 31 |
| null | null | 3 | 200 |
| 4 | 200 | null | null |
| 6 | 700 | null | null |
| null | null | 7 | 700 |
12 rows affected
| transum_id | transum_amt | modsum_id | modsum_amt |
|---|---|---|---|
| 2 | 30 | 2 | 31 |
| null | null | 3 | 200 |
| 4 | 200 | null | null |
| 6 | 700 | null | null |
| null | null | 7 | 700 |