select id, (col1+col2+ col3)/3 as avgVal from T1 where id=123
select AVG(Commentserver) sAvg,AVG(Commentenv) eAvg,AVG(Commenttaste) tAvg from 表名 group by ObjectId表名自己换
欢迎分享,转载请注明来源:内存溢出
select id, (col1+col2+ col3)/3 as avgVal from T1 where id=123
select AVG(Commentserver) sAvg,AVG(Commentenv) eAvg,AVG(Commenttaste) tAvg from 表名 group by ObjectId表名自己换
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)