6
I am having trouble executing the following Query:
SELECT product_id,
presentation
FROM Variant
INNER JOIN productCategory ON product_id = product_id
LIMIT 10;
Error:
ERROR 1052 (23000): Column 'product_id' in field list is ambiguous
how can I solve using alias ?
put the table name in front of the column.
– Zorkind
As much as it’s a very basic mistake, I think a lot of people turn to know what’s going on, +1. I edited your question to give a little more visibility.
– Marconi