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
4 rows affected
deporte | cantidad_personas |
---|---|
Baloncesto | 2 |
Baseball | 0 |
futbol | 2 |
deporte | edad | cantidad_personas |
---|---|---|
Baloncesto | 20 | 0 |
Baloncesto | 21 | 0 |
Baloncesto | 22 | 1 |
Baloncesto | 23 | 0 |
Baloncesto | 24 | 0 |
Baloncesto | 25 | 1 |
Baseball | 20 | 0 |
Baseball | 21 | 0 |
Baseball | 22 | 0 |
Baseball | 23 | 0 |
Baseball | 24 | 0 |
Baseball | 25 | 0 |
futbol | 20 | 1 |
futbol | 21 | 0 |
futbol | 22 | 1 |
futbol | 23 | 0 |
futbol | 24 | 0 |
futbol | 25 | 0 |