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
10 rows affected
region | product_name | quantity | rank |
---|---|---|---|
AUS | patch kit | 81 | 1 |
AUS | mountain bike | 5 | 2 |
FRN | logo | 51 | 1 |
GRMN | patch kit | 83 | 1 |
GRMN | mountain bike | 5 | 2 |
GRMN | logo | 1 | 3 |
region | product_name | quantity | rank |
---|---|---|---|
AUS | patch kit | 81 | 1 |
AUS | mountain bike | 5 | 2 |
FRN | logo | 51 | 1 |
GRMN | patch kit | 83 | 1 |
GRMN | mountain bike | 5 | 2 |