I was recently assigned a task of creating an auction system. During my work, I met numerous occasions where my SQL queries that contained joins failed to execute due to amb
May be you can try using aliases on the table names ?
select * from table1 as T1 join table2 as t2 on (t1.key=t2.foreignkey)