表account
userid return money
1 1 10000
1 1 10000
1 2 15000
2 1 10000
2 1 10000
2 2 5000
求return = 1 且 sum(money) < (return = 2 and sum(money*0.5))的复合语句
userid return money
1 1 10000
1 1 10000
1 2 15000
2 1 10000
2 1 10000
2 2 5000
求return = 1 且 sum(money) < (return = 2 and sum(money*0.5))的复合语句
解决方案