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?.
7 rows affected
id state num pop seqnum new_population
2 nj 3 250 1 250
1 ny 1 100 1 900
1 ny 2 200 2 900
1 ny 3 600 3 900
1 ny 6 400 4 700
1 ny 7 300 5 700
1 ny 14 1000 6 1000