By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| start_date | end_date |
|---|---|
| 2021-06-16 | 2021-06-30 |
| 2021-07-01 | 2022-06-30 |
| 2022-07-01 | 2022-08-31 |
SELECT 3
| start_date | end_date |
|---|---|
| 2021-06-16 | 2021-06-30 |
| 2021-07-01 | 2022-06-30 |
| 2022-07-01 | 2022-08-31 |
SELECT 3