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?.
3 rows affected
8 rows affected
job_id some_field type a b c d min_ts
1 val1 1 1 0 0 0 2004-10-19 10:23:54
1 val1 2 0 0 1 0 2002-10-19 10:23:54
2 val2 1 2 0 0 0 2003-10-19 10:23:54
3 val3 1 2 0 0 0 2004-10-19 10:23:54
3 val3 2 0 0 1 0 2005-10-19 10:23:54
3 val3 3 0 0 0 1 2006-10-19 10:23:54