I have been running MySQL 3.23 for some years.
Now we upgraded to 5.0 and I'm experiencing som problems.
Earlier the following query was executed flawlessly:
SELECT col1, col2, table2.col3
FROM table1, table2
LEFT JOIN table3 ON table1.someid = table3.someotherid
but now this query triggers an error:
Unknown column 'table1.someid' in on-clause.
When I delete the "table2" it works fine (if I also delete table2.col3):
SELECT col1, col2, table2.col3
FROM table1
LEFT JOIN table3 ON table1.someid = table3.someotherid
How can I change the query to run without an error?
Now we upgraded to 5.0 and I'm experiencing som problems.
Earlier the following query was executed flawlessly:
SELECT col1, col2, table2.col3
FROM table1, table2
LEFT JOIN table3 ON table1.someid = table3.someotherid
but now this query triggers an error:
Unknown column 'table1.someid' in on-clause.
When I delete the "table2" it works fine (if I also delete table2.col3):
SELECT col1, col2, table2.col3
FROM table1
LEFT JOIN table3 ON table1.someid = table3.someotherid
How can I change the query to run without an error?