where和having的区别
摘要:
作用域 常见用法 使用聚合函数的注意事项 其他注意事项 where 查询结果返回前对原始数据先进行过滤 select * from table where xxx 不能使用聚合函数 where后面必须是真实的列名,不能是别名 having 对sql查询的返回结果进行二次筛选 select * fro 阅读全文
posted @ 2021-10-12 20:51 呼延灼 阅读(72) 评论(0) 推荐(0)
posted @ 2021-10-12 20:51 呼延灼 阅读(72) 评论(0) 推荐(0)