-5012: Missing definite table name
Explanation:
If a table name in a <FROM clause> is used several times with different <OWNER>s, then the table name must always be specified with the desired <OWNER> within this SQL statement.
User Action:
Specify the OWNER with the table names.