By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
| acct | amt | begin_date | end_date |
|---|---|---|---|
| 1 | 10 | 2020-06-01 | 2020-06-30 |
| 1 | 10 | 2020-07-01 | 2020-07-31 |
| 1 | 10 | 2020-08-01 | 2020-08-31 |
| 1 | 10 | 2020-09-01 | 2020-09-30 |
| 1 | 10 | 2020-10-01 | 2020-10-31 |
| 1 | 10 | 2020-11-01 | 2020-11-30 |
| 1 | 10 | 2020-12-01 | 2020-12-31 |
| 1 | 10 | 2021-01-01 | 2021-01-31 |
| 1 | 10 | 2021-02-01 | 2021-02-28 |
| 1 | 10 | 2021-03-01 | 2021-03-31 |
| 1 | 10 | 2021-04-01 | 2021-04-30 |
| 1 | 10 | 2021-05-01 | 2021-05-31 |
| 1 | 10 | 2021-06-01 | 2021-06-30 |