ERROR | alias required in SELECT list of cursor to avoid duplicate column names |
CAUSE | A cursor was declared with a SELECT statement that contains duplicate column names. Such references are ambiguous. |
ACTION | Replace the duplicate column name in the select list with an alias. |