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?.
15 rows affected
id ytype yvalue ymin ymax
1 TypeA 10 100 200
2 TypeA 20 100 200
3 TypeA 30 100 200
4 TypeB 410 200 300
5 TypeB 420 200 300
6 TypeB 430 200 300
7 TypeC 310 300 400
8 TypeC 320 300 400
9 TypeC 330 300 400
12 TypeD 410 400 500
13 TypeD 490 400 500
14 TypeD 550 400 500
15 TypeE 510 500 600
16 TypeE 590 500 600
17 TypeE 450 500 600
ytype grp
TypeA G1
TypeA G1
TypeA G1
TypeB G3
TypeB G3
TypeB G3
TypeC G2
TypeC G2
TypeC G2
TypeD G2
TypeD G2
TypeD G3
TypeE G2
TypeE G2
TypeE G1
ytype concat
TypeA G1
TypeB G3
TypeC G2
TypeD G2
TypeE G2