Database Error Messages

ORA-36186

(XSAGGR12) You must use a COUNTVAR when aggregating with AVERAGE.