select b.npa_site_planning_id,a.工单流水号,a.地市,a.行政区 from (select 工单流水号,地市,地市||行政区 as 行政区 from mtnoh.task_5 ) a left join (select npa_site_planning_id,MTNOH_MAIN_WO_SEQNO from npas.wr_map_npa_mtnoh group by npa_site_planning_id,MTNOH_MAIN_WO_SEQNO) b on a.工单流水号= b.MTNOH_MAIN_WO_SEQNO where b.npa_site_planning_id = 'PL_20150528_002385'