Oracle Solution for Error ora-22902

Solution for Oracle Error ORA-22902

ORA-22902: CURSOR expression not allowed

What triggered the Error:

RSOR on a subquery is allowed only in the top-level SELECT list of a query.

What should we do to fix it:

ne