ORA-03036
Encountering the QUALIFY clause in the recursive member of the subquery factoring clause
Cause
The QUALIFY clause is not supported in the recursive member of the subquery factoring clause of the WITH clause.
Action
Remove the QUALIFY clause from the recursive member of the subquery factoring clause.