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?.
7 rows affected
id | parent_list |
---|---|
2 | Lab Tests |
1900 | --> Blood Tests |
2044 | --> Calcium |
1 | Radiology |
4 | --> Resonance |
3 | --> Normal Radiology |
1100 | --> Cerebral Resonance |
id | parent_list |
---|---|
2 | Lab Tests |
1900 | Lab Tests --> Blood Tests |
2044 | Lab Tests --> Calcium |
1 | Radiology |
3 | Radiology --> Normal Radiology |
4 | Radiology --> Resonance |
1100 | Radiology --> Resonance --> Cerebral Resonance |