aiaiDBA

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

13718043309

010-86462881

PLS-00119: Duplicate having-clause in table expression

PLS-00119: Duplicate having-clause in table expression
Cause: Two or more HAVING clauses were found in a SELECT statement. The HAVING clause specifies a condition under which groups of rows (formed by the GROUP BY clause) are included in the result. The condition can include several logical expressions connected by AND or OR, but a statement can contain only one HAVING clause.
Action: Remove one of the HAVING clauses and, if necessary, connect logical expressions by AND or OR.

请先 登录 后评论

1 个回答

小智
PLS-00119:表表达式中的重复的有子句,
.原因:在SELECT语句中找到两个或多个HAVING子句。HAVING子句指定一个条件,在该条件下,结果中包含一组行(由GROUP BY子句组成)。条件可以包括由AND或OR连接的多个逻辑表达式,但是一个语句只能包含一个HAVING子句。,
.操作:删除其中一个HAVING子句,如有必要,用AND或OR连接逻辑表达式。,
.
请先 登录 后评论