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?.
22 rows affected
4 rows affected
colony date_in date_out
2 2019-11-01 2019-11-03
7 2019-10-12 2019-10-17
7 2019-10-23 2019-10-26
7 2019-11-01 2019-11-04
colony min max
7 2019-10-12 2019-11-04
2 2019-11-01 2019-11-03
colony grp date_in date_out
2 1 2019-11-01 2019-11-03
7 1 2019-10-12 2019-10-17
7 2 2019-10-23 2019-10-26
7 3 2019-11-01 2019-11-04