Oracle Error QSM-02061: one or more joins present in mv

Oracle Error Message

QSM-02061: one or more joins present in mv

Reason for the Error

The capability in question is not supported when the materialized view contains joins.

Solution

Re-phrase the query to avoid the use of the joins.