select * from a,b where a.id=b.id(+);
(+)写在where后面,不能与or/in连用,
b表是附属表
---------------------------------------------------------------------------
select * from a left join b on a.id=b.id;
左连接 写在 from 与where之间
a left join b on a.id=b.id 主表 left join 附表 on 连接条件
---------------------------------------------------------------------------