Oracle Solution for Error ora-30768

Solution for Oracle Error ORA-30768

ORA-30768: Cannot evaluate pipelined function

What triggered the Error:

Pipelined functions can only be used in a TABLE expression in the from clause.

What should we do to fix it:

Use a non-pipelined function instead.