MSCBSC 移動通信論壇
搜索
登錄注冊
網(wǎng)絡(luò)優(yōu)化工程師招聘專欄 4G/LTE通信工程師最新職位列表 通信實習(xí)生/應(yīng)屆生招聘職位

  • 閱讀:2172
  • 回復(fù):4
質(zhì)差小區(qū)指標提取SQL
pijiu1109
高級會員
鎵嬫満鍙風(fēng)爜宸查獙璇? style=


 發(fā)短消息    關(guān)注Ta 

積分 1322
帖子 113
威望 3381 個
禮品券 0 個
專家指數(shù) 4
注冊 2009-6-6
專業(yè)方向  網(wǎng)絡(luò)優(yōu)化
回答問題數(shù) 0
回答被采納數(shù) 0
回答采納率 0%
 
發(fā)表于 2013-01-07 09:16:31  只看樓主 
【資料名稱】:質(zhì)差小區(qū)指標提取SQL

【資料作者】:2012

【資料日期】:2012

【資料語言】:中文

【資料格式】:DOC

【資料目錄和簡介】:

select *
from
(
select a1.sdate,
a1.bscname bsca,
a1.cell_id cellid,
a1.seg seg,
a1.segname segname,
a1.ul5 ul,
a1.dl5 dl,
a2.tcherl 話務(wù)量
from (select to_char(a.period_start_time, 'yyyymmdd') Sdate,
bsc.name bscname,
a.segment_id seg,
c.segment_name segname,
c.cell_id cell_id,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual0) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul0,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual1) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul1,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual2) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul2,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual3) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul3,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual4) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul4,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 *
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul5,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual6) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul6,
decode(sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
0,
100,
round(100 * sum(a.freq_ul_qual7) /
sum(a.freq_ul_qual0 + a.freq_ul_qual1 +
a.freq_ul_qual2 + a.freq_ul_qual3 +
a.freq_ul_qual4 + a.freq_ul_qual5 +
a.freq_ul_qual6 + a.freq_ul_qual7),
2)) ul7,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual0) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl0,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual1) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl1,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual2) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl2,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual3) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl3,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual4) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl4,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 *
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl5,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual6) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl6,
decode(sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
0,
100,
round(100 * sum(a.freq_dl_qual7) /
sum(a.freq_dl_qual0 + a.freq_dl_qual1 +
a.freq_dl_qual2 + a.freq_dl_qual3 +
a.freq_dl_qual4 + a.freq_dl_qual5 +
a.freq_dl_qual6 + a.freq_dl_qual7),
2)) dl7

from p_nbsc_rx_qual a, c_bts c, objects bsc
where
to_char(a.period_start_time,'yyyymmdd') between &Sdate and &enddate
and to_char(a.period_start_time,'hh24') in('08','09','10','18','19','20')
and
-- c.cell_id='&cellid' and
a.int_id = bsc.int_id
and c.int_id = a.bts_int_id
and c.conf_name = '<ACTUAL>'
and bsc.name like '**BSC%'

group by to_char(a.period_start_time, 'yyyymmdd'),
--,to_char(a.period_start_time,'hh24')
bsc.name,
a.segment_id,
c.segment_name,
c.cell_id
)a1,

(select bsc2.name bscm,
c2.cell_id cellid,
to_char(ava.period_start_time, 'yyyymmdd'),
round(sum(ave_busy_tch / res_av_denom14), 2) tcherl
from p_nbsc_res_avail ava, c_bts c2, objects bsc2
where to_char(ava.period_start_time,'yyyymmdd') between &Sdate and &enddate
and to_char(ava.period_start_time,'hh24') in('08','09','10','18','19','20')
and
-- c2.cell_id='&cellid' and
c2.int_id = ava.bts_int_id
and c2.conf_name = '<ACTUAL>'
and ava.int_id = bsc2.int_id
and bsc2.name like '**BSC%'
group by to_char(ava.period_start_time, 'yyyymmdd'),
bsc2.name,
c2.cell_id) a2
where a1.cell_id = a2.cellid
) a3
where
話務(wù)量>=3 and (ul<95 or dl<95)

查看積分策略說明
附件下載列表:
2013-1-7 09:16:31  下載次數(shù): 23
質(zhì)差小區(qū)全天.rar (1000 Bytes)
掃碼關(guān)注5G通信官方公眾號,免費領(lǐng)取以下5G精品資料
  • 1、回復(fù)“YD5GAI”免費領(lǐng)取《中國移動:5G網(wǎng)絡(luò)AI應(yīng)用典型場景技術(shù)解決方案白皮書
  • 2、回復(fù)“5G6G”免費領(lǐng)取《5G_6G毫米波測試技術(shù)白皮書-2022_03-21
  • 3、回復(fù)“YD6G”免費領(lǐng)取《中國移動:6G至簡無線接入網(wǎng)白皮書
  • 4、回復(fù)“LTBPS”免費領(lǐng)取《《中國聯(lián)通5G終端白皮書》
  • 5、回復(fù)“ZGDX”免費領(lǐng)取《中國電信5G NTN技術(shù)白皮書
  • 6、回復(fù)“TXSB”免費領(lǐng)取《通信設(shè)備安裝工程施工工藝圖解
  • 7、回復(fù)“YDSL”免費領(lǐng)取《中國移動算力并網(wǎng)白皮書
  • 8、回復(fù)“5GX3”免費領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1
  • 對本帖內(nèi)容的看法? 我要點評

     
    [充值威望,立即自動到帳] [VIP貴賓權(quán)限+威望套餐] 另有大量優(yōu)惠贈送活動,請光臨充值中心
    充值擁有大量的威望和最高的下載權(quán)限,下載站內(nèi)資料無憂
    suguang
    高級會員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 1896
    帖子 377
    威望 719 個
    禮品券 0 個
    專家指數(shù) 11
    注冊 2009-9-15
    專業(yè)方向  網(wǎng)優(yōu)
    回答問題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2013-01-07 09:30:04 
    有沒有這么麻煩啊!

    對本帖內(nèi)容的看法? 我要點評

     
    [立即成為VIP會員,百萬通信專業(yè)資料立即下載,支付寶、微信付款,簡單、快速!]
    djukic
    鉆石會員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    C友·登錄達人  
    積分 12712
    帖子 1598
    威望 6529117 個
    禮品券 65 個
    專家指數(shù) 1
    注冊 2007-9-11
    專業(yè)方向  無線網(wǎng)優(yōu)
    來自 湖北
    回答問題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2013-01-07 09:53:07 
    8錯的東西,很有用,謝謝!

    對本帖內(nèi)容的看法? 我要點評

     
    最新通信職位:廣東通信人才網(wǎng) | 北京通信人才網(wǎng) | 上海通信人才網(wǎng) | 南京通信人才網(wǎng) | 西安通信人才網(wǎng) | 重慶通信人才網(wǎng) | 中國通信人才網(wǎng)
    1370392
    金牌會員
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    積分 6900
    帖子 1430
    威望 42680 個
    禮品券 9 個
    專家指數(shù) -250
    注冊 2009-12-19
    專業(yè)方向  網(wǎng)絡(luò)優(yōu)化
    回答問題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2013-04-18 10:28:05 
    不知道雜用的 也沒說明

    對本帖內(nèi)容的看法? 我要點評





    沒事攢經(jīng)驗,沒事找工作,沒事多上傳資料!。
     
    熱點: 通信招聘職位 | 網(wǎng)絡(luò)優(yōu)化全集 | WCDMA精品 | TD-SCDMA學(xué)習(xí)資料 | EVDO | MGW媒體網(wǎng)關(guān)資料
    yangjianxuan
    論壇元老
    鎵嬫満鍙風(fēng)爜宸查獙璇? style=


     發(fā)短消息    關(guān)注Ta 

    公益·慈善勛章  
    積分 28596
    帖子 3110
    威望 28219 個
    禮品券 40 個
    專家指數(shù) 20
    注冊 2006-7-1
    專業(yè)方向  無線網(wǎng)優(yōu)
    回答問題數(shù) 0
    回答被采納數(shù) 0
    回答采納率 0%
     
    發(fā)表于 2013-04-18 12:55:19  QQ
    這個是SQL的語句吧!

    對本帖內(nèi)容的看法? 我要點評

     
    最新通信職位:廣東通信人才網(wǎng) | 北京通信人才網(wǎng) | 上海通信人才網(wǎng) | 南京通信人才網(wǎng) | 西安通信人才網(wǎng) | 重慶通信人才網(wǎng) | 中國通信人才網(wǎng)

    快速回復(fù)主題    
    標題
    內(nèi)容
     上傳資料請點左側(cè)【添加附件】

    (勾選中文件為要刪除文件)


    當前時區(qū) GMT+8, 現(xiàn)在時間是 2025-01-31 10:28:56
    渝ICP備11001752號  Copyright @ 2006-2016 mscbsc.com  本站統(tǒng)一服務(wù)郵箱:mscbsc@163.com

    Processed in 0.482634 second(s), 21 queries , Gzip enabled
    TOP
    清除 Cookies - 聯(lián)系我們 - 移動通信網(wǎng) - 移動通信論壇 - 通信招聘網(wǎng) - Archiver