select sum(case x.预算比例
           when a then x.实纳税额*0.15 
           when b then x.实纳税额*0.25
           when c then x.实纳税额*0.5
       end ) as 收入
from [明细表] x