left join on 即左连接,把left join左边的表的记录全部找出来。
select a.* from a left join b on a.id=b.id where b.end_date=to_date('99991231','yyyymmdd')sel
left join on 即左连接,把left join左边的表的记录全部找出来。
select a.* from a left join b on a.id=b.id where b.end_date=to_date('99991231','yyyymmdd')sel