SQL 平均数统计
程序员文章站
2023-11-24 19:06:28
复制代码 代码如下:select cast(sum(score_comments_) / count(*) as decimal) as score from commen...
复制代码 代码如下:
select cast(sum(score_comments_) / count(*) as decimal) as score
from comments_toysgogo_
where (aboutid_comments_ = 81) and (table_comments_ = 'product')
上一篇: C#基于XNA生成随机颜色的方法