猿问
mysql函数一共有几种?
mysql函数一共有几种
牧羊人nacy
浏览 753
回答 1
1回答
眼眸繁星
count() 统计记录条数,如 select count(*) from stu;sum() 统计记录字段的和,如select sum(salary) from emp;avg() 统计记录字段的平均值,如select avg(salary) from emp;max() 查询字段中的最大值,如select max(age) from stu;min() 查询字段中的最小值,如select min(age) from stu;
0
0
0
随时随地看视频
慕课网APP
相关分类
MySQL
我要回答