By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
2 rows affected
| id | fromdate | to_date |
|---|---|---|
| 1 | 2021-05-05 | 2021-05-10 |
| 10 | 2021-05-11 | 2021-05-16 |
| 2 | 2021-05-17 | 2021-05-25 |
2 rows affected
| id | fromdate | to_date |
|---|---|---|
| 1 | 2021-05-05 | 2021-05-10 |
| 10 | 2021-05-11 | 2021-05-16 |
| 2 | 2021-05-17 | 2021-05-25 |