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
1 rows affected
course_id | sec_id | semester | year | count |
---|---|---|---|---|
CS-101 | 1 | Fall | 2009 | 6 |
CS-347 | 1 | Fall | 2009 | 2 |
PHY-101 | 1 | Fall | 2009 | 1 |
AB-42 | 1 | Fall | 2009 | 6 |
course_id | sec_id | semester | year | count | rank |
---|---|---|---|---|---|
CS-101 | 1 | Fall | 2009 | 6 | 1 |
AB-42 | 1 | Fall | 2009 | 6 | 1 |
CS-347 | 1 | Fall | 2009 | 2 | 3 |
PHY-101 | 1 | Fall | 2009 | 1 | 4 |
course_id | sec_id | semester | year | count | rank |
---|---|---|---|---|---|
CS-101 | 1 | Fall | 2009 | 6 | 1 |
AB-42 | 1 | Fall | 2009 | 6 | 1 |