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?.
8 rows affected
selling_agent ordernumber sale_item_1 sale_item_2 percentage
jim abc 1 2 14.29
steve abc 3 4 33.33
carl abc 5 6 52.38
carl def 7 8 31.25
steve def 9 9 37.50
jim def 8 7 31.25
steve ghi 6 5 61.11
patty ghi 4 3 38.89