------------函数名-----------------
count() : 统计函数
sum() :求和函数
avg() : 求平均
max() : 最大
min() : 最小
1.统计有多少人,Count统计函数不统计null值
select count(*) from person;
2.求age的和:
select SUM(age) from person;
3.求age的平均值:
select AVG(age) from person;
4.求age的最大值:
select MAX(age) from person;
5.求age的最小值
select MIN(age) from person;