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 14
2014 6 jun 15
2010 4 apr 8
2011 6 jun 7
2012 11 nov 12
2012 8 aug 15
2013 4 apr 12
2014 2 feb 8
2012 5 may 12
2011 7 jul 8
2014 7 jul 14
2011 2 feb 13
2012 3 mar 13
2015 1 jan 9
2013 8 aug 15
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 9 14 15 8 11 7 14 9 9 16 18 14 null null
2011 13 13 13 9 9 7 8 10 16 13 4 15 null null
2012 11 9 13 8 12 13 18 15 12 9 12 10 null null
2013 18 15 14 12 11 17 14 15 9 14 17 11 null null
2014 9 8 15 8 10 15 14 15 14 11 8 15 null null
2015 9 11 14 12 12 9 9 15 8 12 15 9 null null
2016 13 10 14 14 10 14 13 5 13 15 8 11 null null
SELECT 7