表 count idc10143267343423 我要得到表 c10的值在c10的比例,id=1 43/(43+67+43+23) idc1010.24432820.38728330.24432840.130682 select id, round(cast(c10 as float)/(select sum(c10) from count),6) as cc from count