By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
| BEN_ID | CLAIM_ID | DTE_ADMISSION | DTE_DISCHARGE | PrevDischarge | GroupId | Min_ADMISSION | Max_DISCHARGE |
|---|---|---|---|---|---|---|---|
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 5685638d-412d-4d2e-9bef-af4c2a18f885 | 2018-07-10 | 2018-07-24 | 1900-01-01 | 1 | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | e65085af-dad9-4ac4-9aa6-a887d3606571 | 2018-07-24 | 2018-07-24 | 2018-07-24 | 1 | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | e8859a25-11d0-416f-bc1c-048451f14b4c | 2018-07-24 | 2018-08-02 | 2018-07-24 | 1 | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 6608cf05-b135-40a2-9dbe-7cd3cf4f804e | 2018-09-27 | 2018-10-04 | 2018-08-02 | 2 | 2018-09-27 | 2018-10-08 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 4a380669-f5f6-4a62-8a44-8f53c2a6068d | 2018-10-04 | 2018-10-08 | 2018-10-04 | 2 | 2018-09-27 | 2018-10-08 |
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
5 rows affected
| BEN_ID | CLAIM_ID | DTE_ADMISSION | DTE_DISCHARGE |
|---|---|---|---|
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 5685638d-412d-4d2e-9bef-af4c2a18f885 | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | e65085af-dad9-4ac4-9aa6-a887d3606571 | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | e8859a25-11d0-416f-bc1c-048451f14b4c | 2018-07-10 | 2018-08-02 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 6608cf05-b135-40a2-9dbe-7cd3cf4f804e | 2018-09-27 | 2018-10-08 |
| c0369b1c-0197-4c43-b048-1e299767c2e8 | 4a380669-f5f6-4a62-8a44-8f53c2a6068d | 2018-09-27 | 2018-10-08 |