SQL function SQL函数整理及示例

1. AVG() eg: select avg(column_name) from table_name ;   # 返回数字列的平均值         select avg(Price) as Pricenum from Products  ; 2. count() eg: select count(column_name) from table_name ;   # 返回指定列的记录数    
相关文章
相关标签/搜索