mysql 外连接查询替代方法: select * from A left join B on A.md5 = B.md5 union select * from A right join B on A.md5 = B.md5