PLS-00595: the TABLE operator is not allowed in this context
Cause: The TABLE operator was used as an argument to a SELECT or CAST statement.
Action: Remove the TABLE operator from the SELECT list items or from argument of CAST operator. Make sure that the TABLE operator appears only in the FROM clause.