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?.
3 rows affected
3 rows affected
2 rows affected
1 rows affected
dnumber | dname | mgrssn | mgrstartdate | numberofemployees |
---|---|---|---|---|
1 | One | 456 | null | null |
2 | Two | 456 | null | null |
3 | Three | 789 | null | null |
ssn | bdate | fname | minit | lname | address | sex | salary | supervisorssn | dnumber |
---|---|---|---|---|---|---|---|---|---|
123 | null | Arthur | null | Dent | null | null | null | 456 | 1 |
456 | null | Ford | null | Prefect | null | null | null | null | 2 |
789 | null | Zaphod | null | Beeblebrox | null | null | null | null | 3 |