column found in more than one table need a correlation name
问题描述:
column found in more than one table need a correlation name
答
多个表有相同的字段,这些表相关联时要明确指出该字段是哪个表的
如:表A,B都有相同的字段col ,如果A,B关联则必须指明col是属於A表的还是B表的
select A.col from A join b on .
如果写成select col from A join b on ...则会提示错误.