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?.
CREATE TABLE
INSERT 0 14
id date Ipad Laptop Phone Keypad
1 Aug-23 null 50 250 100
1 Sep-23 200 60 260 100
2 Aug-23 null 80 220 100
2 Sep-23 90 80 100 100
SELECT 4
id date Ipad Laptop Phone Keypad
1 Aug-23 null 250 100 50
1 Sep-23 200 260 100 60
2 Aug-23 null 220 100 80
2 Sep-23 90 100 100 80
SELECT 4