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?.
14 rows affected
campaign supplier plan_quantity check
C001 supplier_a 500 same
C001 supplier_a 500 same
C001 supplier_b 500 same
C002 supplier_a 600 same
C002 supplier_b 700 same
C003 supplier_c 100 same
C003 supplier_c 100 same
C004 supplier_a 900 same
C004 supplier_c 800 same
C004 supplier_d 250 same
C004 supplier_d 250 same
C005 supplier_b 270 different
C005 supplier_b 380 different
C005 supplier_d 590 same
campaign supplier plan_quantity check
C001 supplier_a 500 same
C001 supplier_a 500 same
C001 supplier_b 500 same
C002 supplier_a 600 different
C002 supplier_b 700 different
C003 supplier_c 100 same
C003 supplier_c 100 same
C004 supplier_a 900 different
C004 supplier_c 800 different
C004 supplier_d 250 different
C004 supplier_d 250 different
C005 supplier_b 270 different
C005 supplier_b 380 different
C005 supplier_d 590 different