PLS-01705
table specified by a cursor not updatable if cursor specification has a UNION or ORDER_BY
Cause
The table specified by a cursor is not updatable if the cursor specification contains a UNION or ORDER_BY.
Missing keyword FROM.