Loading

08 聚集函数

聚集函数
count max min sum avg
count(*)会统计null行,count列名则不会

分组
group by

过滤分组
having
where能做的having都能做,并且where不能使用聚集函数,但是having能够使用

posted @ 2022-04-17 15:56  ydssx  阅读(20)  评论(0)    收藏  举报