SQL 平均数统计

来源:这里教程网 时间:2026-02-28 06:35:54 作者:

sql下求列的平均数的语句

代码如下:
select cast(sum(score_comments_) / count(*) as decimal) as score
from comments_toysgogo_
where (aboutid_comments_ = 81) and (table_comments_ = 'product')

相关推荐