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 A MM1 QQ1 1000
2 A MM1 QQ1 1000
3 A MM1 QQ1 1000
4 A MM1 QQ1 1000
5 A MM1 QQ1 1000
6 B MM2 QQ2 1500
7 B MM2 QQ2 1500
8 C MM3 QQ3 2000
9 C MM3 QQ3 2000
10 D MM4 QQ4 5000
Code StartDate EndDate DiscountPrice TatalDiscountPrice
A 2020/5/3 2020/6/3 1000 5000
B 2020/5/3 2020/6/3 1500 3000
C 2020/5/4 2020/6/4 2000 4000
D 2020/5/4 2020/6/4 5000 5000