![]() |
#2
tlliqi2014-03-01 17:05
|
SUM(convert(numeric(10,2),(合计*convert(numeric(10,2),出勤率/(select max(出勤率) from yuangong y , banzugongzi b where 学生班组='022' and b.工号=y.工号)*100)*系数)/100))
出现错误:不能对包含聚合或子查询的表达式执行聚合函数。
语名本没有问题,加了SUM出错,