You are on page 1of 6

Select

trunc(a.datetime) Day,
a.bsc As BSC,
c.SITE_NAME As Site,
c.LAC As LAC,
c.cell_id As Cell,
ROUND ( 100
* ( div ( NVL(suimasca_1,0)
+ NVL(suimasca_2,0)
+ NVL(suimasca_3,0)
+ NVL(suimasca_4,0)
+ NVL(suimasca_5,0)
+ NVL(suimasca_6,0),
NVL(atimasca_1,0)
+ NVL(atimasca_2,0)
+ NVL(atimasca_3,0)
+ NVL(atimasca_4,0)
+ NVL(atimasca_5,0)
+ NVL(atimasca_6,0)
+ NVL(atimasca_7,0)
+ NVL(atimasca_8,0)
+ NVL(atimasca_9,0)
+ NVL(atimasca_10,0)
+ NVL(atimasca_11,0)
+ NVL(atimasca_12,0)
+ NVL(atimasca_13,0)
+ NVL(atimasca_14,0)
)
* div ((NVL(nacsucpr_2,0)+NVL(nacsucpr_3,0)), (NVL(taccbpro_
2,0)+NVL(taccbpro_3,0)))
* div ( NVL(nsucchpc_1,0)
+ NVL(nsucchpc_2,0)
+ NVL(nsucchpc_3,0)
+ NVL(nsucchpc_4,0)
+ NVL(nsucchpc_5,0)
+ NVL(nsucchpc_6,0)
+ NVL(nsucchpc_9,0)
+ NVL(nsucchpc_10,0)
+ NVL(nsucchpc_11,0)
+ NVL(nsucchpc_12,0)
+ NVL(nsucchpc_13,0)
+ NVL(nsucchpc_14,0)
+ NVL(nsucchpc_17,0)
+ NVL(nsucchpc_18,0)
+ NVL(nsucchpc_19,0)
+ NVL(nsucchpc_20,0)
+ NVL(nsucchpc_21,0)
+ NVL(nsucchpc_22,0),
NVL(suimasca_1,0)
+ NVL(suimasca_2,0)
+ NVL(suimasca_3,0)
+ NVL(suimasca_4,0)
+ NVL(suimasca_5,0)
+ NVL(suimasca_6,0)
+ (NVL(nacsucpr_2,0)+NVL(nacsucpr_3,0))
- (NVL(taccbpro_2,0)+NVL(taccbpro_3,0))
)
* div ( NVL(tasssucc_2,0)
+ NVL(tasssucc_3,0)

+ NVL(sinthint_7,0)
+ NVL(suinbhdo_7,0),
(NVL(tassatt_3,0) + NVL(tassatt_2,0)
)
)
* ( 1
- div ( NVL(nrclrreq_19,0)
+ NVL(nrclrreq_20,0)
+ NVL(nrclrreq_21,0)
+ NVL(nrclrreq_23,0)
+ NVL(nrclrreq_24,0)
+ NVL(nrclrreq_25,0)
+ NVL(nrclrreq_26,0),
NVL(nsucchpc_1,0)
+ NVL(nsucchpc_2,0)
+ NVL(nsucchpc_3,0)
+ NVL(nsucchpc_4,0)
+ NVL(nsucchpc_5,0)
+ NVL(nsucchpc_6,0)
)
)
),
2
) AS cssr_bss_Non_HARM,
((1 - DIV(((NVL(a.nsucchpc_1,0) + NVL(a.nsucchpc_2,0) + NVL(a.nsucchpc_3,
0) + NVL(a.nsucchpc_4,0) + NVL(a.nsucchpc_5,0) + NVL(a.nsucchpc_6,
0) + NVL(a.nsucchpc_9,0) + NVL(a.nsucchpc_10,0) + NVL(a.nsucchpc_11,0) +
NVL(a.nsucchpc_12,0) + NVL(a.nsucchpc_13,0) + NVL(a.nsucchpc_14,0) +
NVL(a.nsucchpc_17,0) + NVL(a.nsucchpc_18,0) + NVL(a.nsucchpc_19,0) +
NVL(a.nsucchpc_20,0) + NVL(a.nsucchpc_21,0) + NVL(a.nsucchpc_22,0))),
((NVL(a.atimasca_1,0) + NVL(a.atimasca_2,0) + NVL(a.atimasca_3,
0) + NVL(a.atimasca_4,0) + NVL(a.atimasca_5,0) + NVL(a.atimasca_6,
0) + NVL(a.atimasca_7,0) + NVL(a.atimasca_8,0) + NVL(a.atimasca_9,
0) + NVL(a.atimasca_10,0) + NVL(a.atimasca_11,0) + NVL(a.atimasca_12,0) +
NVL(a.atimasca_13,0) + NVL(a.atimasca_14,0) - (NVL(a.nacsucpr_2,0)+NVL(a.nacsu
cpr_3,0))+
NVL(a.atsdcmbs_1,0) + NVL(a.nsucchpc_1,0) + NVL(a.nsucchpc_2,0) +
NVL(a.nsucchpc_3,0) + NVL(a.nsucchpc_4,0) + NVL(a.nsucchpc_5,0) +
NVL(a.nsucchpc_6,0) + NVL(a.nsucchpc_9,0) + NVL(a.nsucchpc_10,0) +
NVL(a.nsucchpc_11,0) + NVL(a.nsucchpc_12,0) + NVL(a.nsucchpc_13,0) +
NVL(a.nsucchpc_14,0) + NVL(a.nsucchpc_17,0) + NVL(a.nsucchpc_18,0) +
NVL(a.nsucchpc_19,0) + NVL(a.nsucchpc_20,0) + NVL(a.nsucchpc_21,0) +
NVL(a.nsucchpc_22,0))))) * 100) As SD_BLOCKING,
------------------------------------------------------NVL(a.mbusysdc_1,0) As SD_Traffic,
(NVL(a.TASSSUCC_2,0)+NVL(a.TASSSUCC_3,0)+NVL(a.TASSSUCC_4,0)+NVL(a.TASSSUCC_5,0)
) As Total_Calls,
-- Contains all the calls assigned to this cell.
(NVL(a.NAVTCH_3,0)+NVL(a.NAVTCH_9,0))+NVL(a.NAVTCH_15,0)+(NVL(a.NAVTCH_6,0)+NVL(
a.NAVTCH_12,0))+NVL(a.NAVTCH_18,0) TCH_Avail_Tot,
trunc( DIV(
(
NVL(a.NAVTCH_14,0) + (NVL(a.NAVTCH_2,0)+NVL(a.NAVTCH_8,0)) + (NVL(a.NAVT
CH_5,0)+NVL(a.NAVTCH_11,0)) + NVL(a.NAVTCH_17,0)

),
(
NVL(a.NRDEFTCH_14,0) + NVL(a.NRDEFTCH_17,0) + (NVL(a.NRDEFTCH_2,0)+NVL(
a.NRDEFTCH_8,0)) + (NVL(a.NRDEFTCH_5,0)+NVL(a.NRDEFTCH_11,0))
)
)*100 ) As TCH_Availability,
NVL(a.MEBUSTCH_1,0)+NVL(a.MEBUSTCH_2,0)+NVL(a.MEBUSTCH_3,0)+NVL(a.MEBUSTCH_4,0)+
NVL(a.MEBUSTCH_5,0)+NVL(a.MEBUSTCH_6,0) TCH_Traffic,
NVL(a.mebustch_5,0) + NVL(a.mebustch_6,0) Traffic_Complete,
NVL(a.mebustch_1,0) + NVL(a.mebustch_2,0)+ NVL(a.mebustch_3,0)+ NVL(a.meb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,0)+NVL(a.NRFLTCH_10,0)+NVL(a.NRFLTCH_19,0)+
NVL(a.NRFLTCH_28,0)+NVL(a.NRFLTCH_37,0)+NVL(a.NRFLTCH_46,0)) T200_Exp,
ROUND(100*DIV(NVL(SUCTCHSE_1,0) +
NVL(SUCTCHSE_2,0) (NVL(TASSSUCC_2,0) +
NVL(TASSSUCC_3,0)) (NVL(SINTHITA_1,0) +
NVL(SINTHITA_2,0) +
NVL(SINTHITA_3,0) +
NVL(SINTHITA_4,0) +
NVL(SINTHITA_5,0) +
NVL(SINTHITA_6,0) +
NVL(SINTHITA_7,0) +
NVL(SINTHITA_8,0) +
NVL(SINTHITA_9,0) +
NVL(SINTHITA_10,0) +
NVL(SINTHITA_11,0) +
NVL(SINTHITA_12,0) +
NVL(SINTHITA_13,0) +
NVL(SINTHITA_14,0)) (NVL(NSUCCHPC_9,0) +
NVL(NSUCCHPC_10,0) +
NVL(NSUCCHPC_11,0) +
NVL(NSUCCHPC_12,0) +
NVL(NSUCCHPC_13,0) +
NVL(NSUCCHPC_14,0) +
NVL(NSUCCHPC_17,0) +
NVL(NSUCCHPC_18,0) +
NVL(NSUCCHPC_19,0) +
NVL(NSUCCHPC_20,0) +
NVL(NSUCCHPC_21,0) +
NVL(NSUCCHPC_22,0))
,
NVL(ATTCHSEI_1,0) +
NVL(ATTCHSEI_2,0) (NVL(TASSATT_2,0) +
NVL(TASSATT_3,0)) (NVL(ATINHIAC_1,0) +
NVL(ATINHIAC_2,0) +
NVL(ATINHIAC_3,0) +

NVL(ATINHIAC_4,0) +
NVL(ATINHIAC_5,0) +
NVL(ATINHIAC_6,0) +
NVL(ATINHIAC_7,0) +
NVL(ATINHIAC_8,0) +
NVL(ATINHIAC_9,0) +
NVL(ATINHIAC_10,0) +
NVL(ATINHIAC_11,0) +
NVL(ATINHIAC_12,0) +
NVL(ATINHIAC_13,0) +
NVL(ATINHIAC_14,0)) (NVL(ATIMASCA_7,0) +
NVL(ATIMASCA_8,0) +
NVL(ATIMASCA_9,0) +
NVL(ATIMASCA_10,0) +
NVL(ATIMASCA_11,0) +
NVL(ATIMASCA_12,0) +
NVL(ATIMASCA_13,0) +
NVL(ATIMASCA_14,0)),-1,0),2) Incoming_HSR
FROM SIEMENS_BSS.SCANBTS_DY a,SIEMENS_BSS.SCANBTSE_DY b, SIEMENS_BSS.CELLCFG c
where
replace(a.BSC,'_BR10','')=c.BSC(+) and
a.Cell=c.Cell(+) and
a.BSC = b.BSC(+) and
a.Cell=b.Cell(+) and
a.datetime = b.datetime(+) and
(
a.BSC LIKE '%-K%' or a.BSC LIKE '%-Q%'
)
and
-- insert date: a.datetime
and
c.Region = 'S'