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?.
5 rows affected
3 rows affected
date_ | name | qty_ |
---|---|---|
2019-01-15 | Boston | null |
2019-01-15 | London | 10 |
2019-01-15 | Paris | null |
2019-01-16 | Boston | 30 |
2019-01-16 | London | null |
2019-01-16 | Paris | 20 |
2019-01-17 | Boston | 31 |
2019-01-17 | London | 11 |
2019-01-17 | Paris | null |