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
7 rows affected
recid |
---|
2 |
3 |
5 |
recid | cdesc |
---|---|
1 | 1 |
4 | 2 |
6 | 3 |
7 | 4 |
lab_id | cpt_recid |
---|---|
11 | 1 |
12 | 1 |
13 | 1 |
14 | 4 |
15 | 4 |
16 | 6 |
17 | 6 |