Message Oracle QSM-02135 - agg(expr) requires correspondng AVG(expr) function

ERRORagg(expr) requires correspondng AVG(expr) function
CAUSEThe capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the AVG function on the same argument.
ACTIONAdd the AVG function to the select list.