Error code

Oracle ORA-00918

ORACLEORA-00918
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

column ambiguously defined — the column name matches more than one table in the query.

How to fix it

  1. Prefix every ambiguous column reference with the table name or alias (e.g. t1.column_name).
  2. Use explicit column aliases to distinguish columns from different tables.
  3. Rewrite the query with table aliases for readability and to make all references unambiguous.

Not affiliated with Oracle. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.