ANR2936E
The SQL aggregate function function can not be nested within another aggregate function.

Explanation

One of the aggregate functions COUNT, MAX, MIN, SUM, AVG, VARIANCE, or STDDEV was found nested within another aggregate expression.

System action

The SQL query is terminated.

User response

None.