add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
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?.
12 rows affected
12 rows affected
id month amount percentile
1 1 1 25
2 1 2 50
4 1 3 75
3 1 5 100
5 2 1 25
6 2 3 25
1 2 5 50
1 2 7 50
1 2 9 75
1 2 11 75
1 2 15 100
1 2 16 100