ANR2937E
An SQL subquery expression can not be nested within an aggregate function.

Explanation

An expression containing a subquery was found nested within one of the aggregate functions COUNT, MAX, MIN, SUM, AVG, VARIANCE, or STDDEV.

System action

The SQL query is terminated.

User response

None.