Oracle Error QSM-02086: mv uses the MIN or MAX aggregate functions

Oracle Error Message

QSM-02086: mv uses the MIN or MAX aggregate functions

Reason for the Error

The capability in question is not supported when the materialized view uses the MIN or MAX function.

Solution

Re-phrase the query to avoid the use of the MIN or MAX functions.