Oracle Error ORA-36270: (XSCGMDLAGG03) The parameter list for the AGGREGATION function includes duplicate values.

Oracle Error Message

ORA-36270: (XSCGMDLAGG03) The parameter list for the AGGREGATION function includes duplicate values.

Reason for the Error

One or more duplicate values appeared in the AGGREGATION parameter list.

Solution

Remove the duplication.