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
12 rows affected
14 rows affected
user_email | total_tagged | count |
---|---|---|
user3@gmail.com | 3 | 0 |
user1@gmail.com | 4 | 0 |
user2@gmail.com | 2 | 0 |
user5@gmail.com | 2 | 2 |
user4@gmail.com | 3 | 3 |