Oracle Message PLS-01705 - table specified by a cursor not updatable if cursor specification has a UNION or ORDER_BY

ERRORtable specified by a cursor not updatable if cursor specification has a UNION or ORDER_BY
CAUSEMissing keyword FROM.
ACTIONNone