aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PLS-00604: aggregate function is not allowed here

PLS-00604: aggregate function is not allowed here
Cause: One of the functions, such as AVG, COUNT, MAX, MIN, SUM, STDDEV or VARIANCE, was used in a WHERE or GROUP BY clause
Action: Remove the group function from the WHERE or GROUP BY clause. The desired result may be achieved by including the function in a subquery or HAVING clause.

请先 登录 后评论

1 个回答

小智
PLS-00604:这里不允许聚合函数,
.原因:其中一个功能,如AVG,COUNT,MAX,MIN,SUM,STDDEV或VARIANCE,在WHERE或GROUP BY子句中使用,
.操作:从WHERE或GROUP BY子句中删除组函数。可以通过在子查询或HAVING子句中包含该函数来实现所需的结果。,
.
请先 登录 后评论