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.
Code DiscountType CategoryType StartDate EndDate
A MM1 QQ1 2020/5/3 2020/6/3
B MM2 QQ2 2020/5/3 2020/6/3
C MM3 QQ3 2020/5/4 2020/6/4
D MM4 QQ4 2020/5/4 2020/6/4
E MM5 QQ5 2020/5/4 2020/6/4
TradeDisscountStatisticsID DiscountCode DiscountType CategoryType DiscountPrice
1 AX MM1 QQ1 1000
2 AX MM1 QQ1 1000
3 AX MM1 QQ1 1000
4 AX MM1 QQ1 1000
5 AX MM1 QQ1 1000
6 BX MM2 QQ2 1500
7 BX MM2 QQ2 1500
8 CX MM3 QQ3 2000
9 CX MM3 QQ3 2000
10 DX MM4 QQ4 5000
CategoryType DiscountType Code StartDate EndDate DiscountPrice TatalDiscountPrice
QQ1 MM1 A 2020/5/3 2020/6/3 1000 5000
QQ2 MM2 B 2020/5/3 2020/6/3 1500 3000
QQ3 MM3 C 2020/5/4 2020/6/4 2000 4000
QQ4 MM4 D 2020/5/4 2020/6/4 5000 5000