Oracle Error QSM-02012: a CONNECT BY clause is present

Oracle Error Message

QSM-02012: a CONNECT BY clause is present

Reason for the Error

The capability in question is not supported when the materialized view uses a CONNECT BY clause.

Solution

Re-phrase the query to avoid use of the CONNECT BY clause.