Oracle Error QSM-02137: agg(expr) requires correspondng STDDEV(expr) function

Oracle Error Message

QSM-02137: agg(expr) requires correspondng STDDEV(expr) function

Reason for the Error

The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the STDDEV function on the same argument.

Solution

Add the STDDEV function to the select list.