sql求某列的平均值,详细如下:

来源:互联网 发布:floyd算法例题 编辑:程序博客网 时间:2024/05/20 06:52

select avg(col) from [Table] Where candition.

col 的数据类型:int,money,float