Message Oracle PLS-00950 - In this version, PL/SQL tables can not be used in this SQL statement.

ERRORIn this version, PL/SQL tables can not be used in this SQL statement.
CAUSEIn a SQL statement, a PL/SQL table was referenced incorrectly. For example, the following reference might have been made, but PL/SQL table attributes can only be used in procedural statements: SELECT ename_tab.COUNT INTO name_count WHERE ...
ACTIONRemove the incorrect reference from the SQL statement.