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