caibinxl
2015-07-18 14:51
税率查询语句
select user_name,sum(curmoney*rate) from (select user_name,money,low,high,least(money-low,high-low) as curmoney,rate from user1 a join taxRate b on a.money > b.low) a group by user_name
MySQL开发技巧(三)
54887 学习 · 24 问题
相似问题