By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
| ID | eStart | eEnd | note |
|---|---|---|---|
| 100 | 2022-03-02 | 2022-03-15 | 1 Same Month island |
| 200 | 2022-03-01 | 2022-03-27 | 2 Same Month Start |
| 300 | 2022-03-08 | 2022-03-31 | 3 Same Month End |
| 440 | 2022-01-15 | 2022-01-31 | 4 Diff Month End |
| 440 | 2022-02-01 | 2022-02-28 | 4 Diff Month End |
| 550 | 2022-03-08 | 2022-03-31 | 5 Diff Month Island |
| 550 | 2022-04-01 | 2022-04-30 | 5 Diff Month Island |
| 550 | 2022-05-01 | 2022-05-10 | 5 Diff Month Island |
| 660 | 2022-03-01 | 2022-03-31 | 6 Diff Month Start |
| 660 | 2022-04-01 | 2022-04-30 | 6 Diff Month Start |
| 660 | 2022-05-01 | 2022-05-31 | 6 Diff Month Start |
| 660 | 2022-06-01 | 2022-06-15 | 6 Diff Month Start |
| ID | eStart | eEnd | note |
|---|---|---|---|
| 100 | 2022-03-02 | 2022-03-15 | 1 Same Month island |
| 200 | 2022-03-01 | 2022-03-27 | 2 Same Month Start |
| 300 | 2022-03-08 | 2022-03-31 | 3 Same Month End |
| 440 | 2022-01-15 | 2022-01-31 | 4 Diff Month End |
| 440 | 2022-02-01 | 2022-02-28 | 4 Diff Month End |
| 550 | 2022-03-08 | 2022-03-31 | 5 Diff Month Island |
| 550 | 2022-04-01 | 2022-04-30 | 5 Diff Month Island |
| 550 | 2022-05-01 | 2022-05-10 | 5 Diff Month Island |
| 660 | 2022-03-01 | 2022-03-31 | 6 Diff Month Start |
| 660 | 2022-04-01 | 2022-04-30 | 6 Diff Month Start |
| 660 | 2022-05-01 | 2022-05-31 | 6 Diff Month Start |
| 660 | 2022-06-01 | 2022-06-15 | 6 Diff Month Start |