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?.
year mn month total
2016 4 apr 16
2014 6 jun 14
2010 4 apr 17
2011 6 jun 11
2012 11 nov 9
2012 8 aug 18
2013 4 apr 12
2012 5 may 16
2014 2 feb 10
2011 7 jul 5
2012 3 mar 13
2014 7 jul 9
2011 2 feb 11
2015 1 jan 19
2012 4 apr 14
SELECT 15
jan feb mar apr may jun jul aug sep oct nov dec undec dodec
SELECT 0
SELECT 7
year jan feb mar apr may jun jul aug sep oct nov dec undec dodec
2010 12 11 16 17 12 10 15 15 9 8 15 14 null null
2011 9 11 9 7 10 11 5 6 9 13 14 20 null null
2012 11 6 13 14 16 14 14 18 9 7 9 10 null null
2013 19 6 16 12 17 16 10 11 9 16 10 13 null null
2014 7 10 12 14 7 14 9 8 15 11 8 13 null null
2015 19 14 11 12 6 11 11 16 9 12 14 14 null null
2016 12 12 6 16 9 14 18 16 13 12 14 7 null null
SELECT 7