SQL 平均数统计 2020-02-16 分类:首页 标签Tags:sql,平均数,统计,实现,代码,如下,select,cast,sum,score,comments,count,decimal,toysgogo,aboutid,81,table,product
实现代码如下:SELECT CAST(SUM(score_comments_) / COUNT(*) AS decimal) AS score FROM Comments_Toysgogo_ WHERE (aboutid_comments_ = 81) AND (table_comments_ = 'product') 以上就是【SQL 平均数统计】的全部内容了,欢迎留言评论进行交流!