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?.
1 rows affected
quantities | prices | ratio |
---|---|---|
122 | 0 | 0 |
112 | 4 | 0.0357142857142857 |
145 | 4 | 0.0275862068965517 |
124 | 3 | 0.0241935483870968 |
222 | 4 | 0.018018018018018 |