您可能希望在查询中更加明确.这样可以为您的列提供别名:
原文链接:/php/132760.htmlSELECT A.foo as a_foo,B.foo as b_foo FROM A LEFT JOIN B ON A.columnc = B.columnd
SELECT A.foo as a_foo,B.foo as b_foo FROM A LEFT JOIN B ON A.columnc = B.columnd