摘要:
where 后不可以接聚合函数,比如函数:SUM(count),AVG(count),MIN(count),MAX(count) 阅读全文
posted @ 2019-02-25 09:50
猪猪宝丫
阅读(1605)
评论(0)
推荐(0)
摘要:
group by 分组,比如group by name.那么重复name就显示一遍,即同样内容归类显示一遍。 group by ……having……——(where 后不可以接聚合函数,而having后可以接聚合函数) order by 排序,比如order by name,那么重复name不会归类 阅读全文
posted @ 2019-02-25 09:49
猪猪宝丫
阅读(1243)
评论(0)
推荐(0)
浙公网安备 33010602011771号