ORA-19171: FORG0007: invalid argument to aggregate function
Cause: An error occurred during the processing of the XQuery expression.
Action: Check the detailed error message for the possible causes.
Error Type: ORA
Record: 1/1