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?.
20 rows affected
geom date count rolling_avg_count
FeatureA 2016-02-01 1 5.00
FeatureA 2016-02-02 2 7.00
FeatureA 2016-02-03 3 9.14
FeatureA 2016-02-04 4 11.57
FeatureA 2016-02-05 5 null
FeatureA 2016-02-06 9 null
FeatureA 2016-02-07 11 null
FeatureA 2016-02-08 15 null
FeatureA 2016-02-09 17 null
FeatureA 2016-02-10 20 null
FeatureB 2016-02-01 2 6.71
FeatureB 2016-02-02 2 8.57
FeatureB 2016-02-03 8 11.00
FeatureB 2016-02-04 4 13.43
FeatureB 2016-02-05 5 null
FeatureB 2016-02-06 15 null
FeatureB 2016-02-07 11 null
FeatureB 2016-02-08 15 null
FeatureB 2016-02-09 19 null
FeatureB 2016-02-10 25 null
geom date count rolling_avg_count
FeatureA 2016-02-01 1 5.00
FeatureA 2016-02-02 2 7.00
FeatureA 2016-02-03 3 9.14
FeatureA 2016-02-04 4 11.57
FeatureA 2016-02-05 5 null
FeatureA 2016-02-06 9 null
FeatureA 2016-02-07 11 null
FeatureA 2016-02-08 15 null
FeatureA 2016-02-09 17 null
FeatureA 2016-02-10 20 null
FeatureB 2016-02-01 2 6.71
FeatureB 2016-02-02 2 8.57
FeatureB 2016-02-03 8 11.00
FeatureB 2016-02-04 4 13.43
FeatureB 2016-02-05 5 null
FeatureB 2016-02-06 15 null
FeatureB 2016-02-07 11 null
FeatureB 2016-02-08 15 null
FeatureB 2016-02-09 19 null
FeatureB 2016-02-10 25 null