By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
USERNAME | STARTDATE | FLAG | GRP |
---|---|---|---|
username1 | 01-APR-19 | 1 | 1 |
username1 | 01-APR-19 | 0 | null |
username1 | 01-APR-19 | 1 | 2 |
username1 | 01-APR-19 | 1 | 2 |
username1 | 01-APR-19 | 0 | null |
username1 | 02-APR-19 | 1 | 3 |
username1 | 02-APR-19 | 1 | 3 |
username1 | 02-APR-19 | 1 | 3 |
username1 | 02-APR-19 | 0 | null |
username1 | 02-APR-19 | 0 | null |