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
4 rows affected
identifier products
1 {"times": ["Stoped: 49.05", "Active: 23.26"]}
1 {"times": ["Stoped: 49.05", "Active: 10", "Active: 100"]}
2 {"times": ["Stoped: 59.05", "Active: 33.26"]}
identifier name products act
1 foo {"times": ["Stoped: 49.05", "Active: 10", "Active: 100"]} "Active: 10"
1 foo {"times": ["Stoped: 49.05", "Active: 10", "Active: 100"]} "Active: 100"
1 foo {"times": ["Stoped: 49.05", "Active: 23.26"]} "Active: 23.26"
2 bar {"times": ["Stoped: 59.05", "Active: 33.26"]} "Active: 33.26"
identifier name products value
1 foo {"times": ["Stoped: 49.05", "Active: 10", "Active: 100"]} Active: 10
1 foo {"times": ["Stoped: 49.05", "Active: 10", "Active: 100"]} Active: 100
1 foo {"times": ["Stoped: 49.05", "Active: 23.26"]} Active: 23.26
2 bar {"times": ["Stoped: 59.05", "Active: 33.26"]} Active: 33.26
product sum
bar 33.26
foo 133.26