Oracle Solution for Error ora-22903

Solution for Oracle Error ORA-22903

ORA-22903: MULTISET expression not allowed

What triggered the Error:

LTISET expressions are allowed only inside a CAST to a nested table or VARRAY type.

What should we do to fix it:

t the MULTISET(subquery) expression inside a CAST to a nested table or VARRAY type.