Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

select t4.DISTRICT_NAME, t4.DISTRICT_ID, t4.AREA_NAME, t4.AREA_ID, t4.OLT_NAME, t4.OLT_ID, T5.NAME FDC_NAME, t5.

ID
from (select t3.district_name DISTRICT_NAME, t3.region_id DISTRICT_ID, t2.name AREA_NAME, t2.id AREA_ID, t1.name OLT_
where t1.area_id = T2.id and
t2.district_id = t3.region_id and
t1.eqpt_spec_id = '100001' order by DISTRICT_ID) t4, (select tt2.name, tt2.id, tt2.location,tt3.id temp_id
from (select tt.name, tt.id, tt.location, tt1.senior_obj_id from res.res_eqpt tt, res.res_eqpt tt1
where tt.eqpt_spec_id = '100003' and
TT.SENIOR_OBJ_ID = TT1.ID) tt2, res.res_eqpt tt3
where tt2.senior_obj_id = tt3.id) t5
where t4.OLT_ID = t5.temp_id
order by t4.DISTRICT_ID, t4.AREA_NAME;
D, T5.NAME FDC_NAME, t5.ID FDC_ID, t5.LOCATION FDC_LOCATION
t2.id AREA_ID, t1.name OLT_NAME , t1.ID OLT_ID from res.res_eqpt t1, res.res_area t2, so1.JGH_BS_DISTRICT_TREE_TEMP t3
ICT_TREE_TEMP t3

You might also like