Oracle Error QSM-02049: subquery using the ANY clause in mv

Oracle Error Message

QSM-02049: subquery using the ANY clause in mv

Reason for the Error

The capability in question is not supported when the materialized view uses the ANY clause with a subquery.

Solution

Re-phrase the query to avoid the use of the ANY clause.