You have referenced a field that exists in more than one table.
For example, if you use the TESTDATA database and issue the following command, the same error occurs because the cust_id
field exists in both the customer
and orders
tables:
SELECT cust_id FROM customer,orders
SELECT customer.cust_id FROM customer,orders
For more information, see SELECT - SQL.