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.
version()
8.0.30
Records: 17  Duplicates: 0  Warnings: 0
product_id out_amount_total out_price_total
1 20 10000
7 15 1200
19 15 1200
product_id in_price_amount in_price_total out_amount_total out_price_total
1 225.52 60638 20 10000
7 100 2200 15 1200
19 417 33360 15 1200
product_id 毛利 毛利率%
1 4622.38 46.22
7 870.00 72.50
19 0.00 0.00