sql语句之分组

对聚合函数的结果进行筛选用having,不能用where

原文地址:https://www.cnblogs.com/startl/p/11955996.html