我不知道理解的意思对不对,你要把结果二拼接到结果一右边?
(select * from table1 where xx='xx') as table2 left join (select * from table3 where xx='xx' )as table4 on table2.id=table4.id
weixin_39970369的博客有两个表进行联合查询,以其中一个表的字段 LEFT JOIN 或者 INNER JOIN 联合查询。例如 SELECT * as name FROM source mm LEFT JOIN ke ss ON mm.id=ss.tid 来查询,如果两个表有重复数据,这个时候,我们借助,一个...