where & having 关键字 where和having都是做条件筛选的 where执行的时间比having要早 where后面不能出现组函数 having后面可以出现组函数 where语句要跟在from后面 ,where 不能单独出现 having语句要紧跟group by后面,having不能单独出现