热线电话:13121318867

登录
2020-11-04 阅读量: 1045
mysql报错:Error Code: 1111

Error Code: 1111. Invalid use of group function

select * 
from emp
where sal>avg(sal);-- 报错:where子句中不能使用聚合函数


28.0118
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子