By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
2 rows affected
3 rows affected
Patient Name | Appointment States | Future Active Appointments |
---|---|---|
Jane | {completed} | {"2019-04-09 10:00:00"} |
John | {active,canceled} | {"2022-10-01 11:30:00","2021-10-01 09:30:00"} |