2022-05-25
阅读量:
950
where子句条件里为什么不能有聚合函数?
select dept_id,department,avg(salary) from employees where city="北京" group by department having avg(salary)>10000 order by dept_id
261.8193
4
0
关注作者
收藏
评论(0)
发表评论
暂无数据
推荐帖子
0条评论
1条评论
0条评论

