SQL之聚合函数

1、count

select count(*) from student;

2、max

select max(age) from student;

3、min

select sname,min(age) from student;

4、sum

select sum(age) from student;

5、avg

select avg(age) from student;

 

posted on 2023-03-22 13:42  默玖  阅读(43)  评论(0编辑  收藏  举报

导航