-5014: Missing definite column name
Explanation:
The number of tables specified in a <FROM clause> of the SQL statement is greater than 1. A <COLUMN NAME> without preceding <TABLE SPEC> was used, and this <COLUMN NAME> occurs in more than one of the tables specified in the <FROM clause>.
User Action:
To ensure that the COLUMN NAME is unique, place the desired <TABLE SPEC> in front of it.