摘要: 参考:SQL中where与having的区别 博主:永恒的留忆 一、where和having的区别 where: where 是一个约束声明,使用 where 来约束来自数据库的数据; where 是在结果返回之前起作用的; where 中不能使用聚合函数; having: having 是一个过滤 阅读全文
posted @ 2020-10-04 10:18 何永灿 阅读(489) 评论(0) 推荐(0) 编辑