How to fix the Oracle error PLS-00118: Duplicate group-by clause in table expression?
In this post, you’ll learn more about the Oracle ErrorPLS-00118: Duplicate group-by clause in table expression with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00118: Duplicate group-by clause in table expression
Reason for the Error PLS-00118: Duplicate group-by clause in table expression
Two or more GROUP BY clauses were found in a SELECT statement. The GROUP BY clause lists column expressions used to form a summary row for each group of selected rows. The list can contain several column expressions separated by commas, but a statement can contain only one GROUP BY clause.
How to fix the Error PLS-00118: Duplicate group-by clause in table expression ?
You can fix this error in Oracle by following the below steps
Remove one of the GROUP BY clauses and, if necessary, separate column expressions by commas.
Leave Your Comment