on 后的 and 条件中从表的条件会生效用什么方法使主表生效?123456789
字段前面加上表名,例如:
select * from table_name1 tn1 left join table_name2 tn2 on tn1.id = tn2.id and tn1.name = '张三'