-5012: Missing definite table name

Explanation:

If the same table name was used several times in one FROM clause, the table name must always be specified with the corresponding schema name in this SQL statement.

User Action:

Specify the schema names with the table names.