By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version() |
|---|
| 5.5.62 |
Records: 4 Duplicates: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
| user | access_date | blocked |
|---|---|---|
| Will | 2023-07-12 | Y |
| Will | 2023-07-13 | Y |
| Will | 2023-07-14 | Y |
| Will | 2023-07-28 | Y |
| date1 | date2 | user | access_denied |
|---|---|---|---|
| 2023-02-08 | 2023-02-12 | Will | null |
| 2023-07-12 | 2023-07-28 | Will | null |
| 2021-06-18 | 2021-06-26 | Will | null |
| date1 | date2 | user | access_denied |
|---|---|---|---|
| 2023-07-12 | 2023-07-28 | Will | 4 |
Rows matched: 1 Changed: 1 Warnings: 0
| date1 | date2 | user | access_denied |
|---|---|---|---|
| 2023-02-08 | 2023-02-12 | Will | null |
| 2023-07-12 | 2023-07-28 | Will | 4 |
| 2021-06-18 | 2021-06-26 | Will | null |