Beruflich Dokumente
Kultur Dokumente
RIGHT(MSG_RRC("the_measured_syst
em", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_da
ta"),
LENGTH(MSG_RRC("the_meas
ured_system", "the_measured_band", -1, "direction", "sub_channel", "rrc_message"
, "rrc_data")) LOCATE('start from the b
eginning',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0)
)
) AS 'eventID',
MSG_VALUE('primaryScramblingCode
',
RIGHT(MSG_RRC("the_measured_syst
em", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_da
ta"),
LENGTH(MSG_RRC("the_meas
ured_system", "the_measured_band", -1, "direction", "sub_channel", "rrc_message"
, "rrc_data")) DECODE(LOCATE('fdd value
1',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0), 0,LENGTH(MSG_RRC("the_measured_system", "the_measured_band", -1, "dir
ection", "sub_channel", "rrc_message", "rrc_data")), LOCATE('fdd value 1',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0))
)
) AS 'SC1',
MSG_VALUE('primaryScramblingCode
',
RIGHT(MSG_RRC("the_measured_syst
em", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_da
ta"),
LENGTH(MSG_RRC("the_meas
ured_system", "the_measured_band", -1, "direction", "sub_channel", "rrc_message"
, "rrc_data")) DECODE(LOCATE('fdd value
2',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0), 0,LENGTH(MSG_RRC("the_measured_system", "the_measured_band", -1, "dir
ection", "sub_channel", "rrc_message", "rrc_data")), LOCATE('fdd value 2',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0))
)
) AS 'SC2',
"gps_latitude","gps_longitude" F
ROM "Nemo.UMTS"."RRCS+" WHERE ( 'MEASUREMENT_REPORT' = '' OR rrc_message = 'MEAS
UREMENT_REPORT') AND MSG_VALUE('eventID', MSG_RRC("the_measured_system", "the_me
asured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_data")) IS NOT
NULL
SELECT "time",MSG_VALUE('primaryScramblingCode',
RIGHT(MSG_RRC("the_measured_syst
em", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_da
ta"),
LENGTH(MSG_RRC("the_meas
ured_system", "the_measured_band", -1, "direction", "sub_channel", "rrc_message"
, "rrc_data")) DECODE(LOCATE('fdd value
2',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0), 0,LENGTH(MSG_RRC("the_measured_system", "the_measured_band", -1, "dir
ection", "sub_channel", "rrc_message", "rrc_data")), LOCATE('fdd value 2',
MSG_RRC("the_measured_sy
stem", "the_measured_band", -1, "direction", "sub_channel", "rrc_message", "rrc_
data"),0))
)
) AS 'primaryScramblingCode',"gp
s_latitude","gps_longitude" FROM "Nemo.UMTS"."RRCS+" x, "Nemo.UMTS"."RRCS+" y WH
ERE ( 'MEASUREMENT_REPORT' = '' OR rrc_message = 'MEASUREMENT_REPORT') AND MSG_V
ALUE('primaryScramblingCode', MSG_RRC("the_measured_system", "the_measured_band"
, -1, "direction", "sub_channel", "rrc_message", "rrc_data")) IS NOT NULL
a.the_device
GROUP BY extended_channel_type
/* OPTIONS(USE_TIME_SCOPE) */
UNION ALL
SELECT VAL_to_STRING('extended_c
hannel_type',extended_channel_type)extended_channel_type,AVG(x.aq_mean_dl), MIN(
x.aq_mean_dl), MAX(x.aq_mean_dl), COUNT(x.aq_mean_dl)
FROM "Nemo.GSM"."CHI+" a, "Nemo"
."AQDL+" x
WHERE x.time = a.time AND extend
ed_channel_type NOT IN (2, 26, 27) AND aq_mean_dl IS NOT NULL AND x.the_device =
a.the_device
GROUP BY extended_channel_type
/* OPTIONS(USE_TIME_SCOPE) */
UNION ALL
SELECT DECODE(extended_channel_t
ype, 26, 'AMR full-rate', 27, 'AMR half-rate') || ' ' ||
VAL_to_STRING('amr_mode_downlink
', amr_mode_downlink) amr_mode_downlink, AVG(x.aq_mean_dl), MIN(x.aq_mean_dl), M
AX(x.aq_mean_dl), COUNT(x.aq_mean_dl)
FROM "Nemo.GSM"."CHI+" a, "Nemo.
GSM"."AMRS+" b, "Nemo.NicaDspLq"."AQDL+" x
WHERE x.time = a.time AND x.time
= b.time AND aq_mean_dl IS NOT NULL AND extended_channel_type IN (26, 27) AND
amr_mode_downlink NOT IN (6, 7) AND x.the_device = a.the_device AND x.the_device
= b.the_device
GROUP BY amr_mode_downlink, exte
nded_channel_type
/* OPTIONS(USE_TIME_SCOPE) */
UNION ALL
SELECT DECODE(extended_channel_t
ype, 26, 'AMR full-rate', 27, 'AMR half-rate') || ' ' ||
VAL_to_STRING('amr_mode_downlink
', amr_mode_downlink) amr_mode_downlink, AVG(x.aq_mean_dl), MIN(x.aq_mean_dl), M
AX(x.aq_mean_dl), COUNT(x.aq_mean_dl)
FROM "Nemo.GSM"."CHI+" a, "Nemo.
GSM"."AMRS+" b, "Nemo"."AQDL+" x
WHERE x.time = a.time AND x.time
= b.time AND extended_channel_type IN (26, 27) AND amr_mode_downlink NOT IN (
6, 7) AND aq_mean_dl IS NOT NULL AND x.the_device = a.the_device AND x.the_devic
e = b.the_device
GROUP BY amr_mode_downlink, exte
nded_channel_type
UNION ALL
SELECT 'AMR full-rate '||
VAL_to_STRING('amr_mode_downlink
', amr_mode_downlink) amr_mode_downlink, AVG(x.aq_mean_dl), MIN(x.aq_mean_dl), M
AX(x.aq_mean_dl), COUNT(x.aq_mean_dl)
FROM "Nemo.GSM"."AMRS+" b, "Nemo
.NicaDspLq"."AQDL+" x
WHERE x.time = b.time AND aq_me
an_dl IS NOT NULL AND amr_mode_downlink IN (6, 7) AND x.the_device = b.the_dev
ice
GROUP BY amr_mode_downlink
/* OPTIONS(USE_TIME_SCOPE) */
UNION ALL
SELECT 'AMR full-rate '||
VAL_to_STRING('amr_mode_downlink
', amr_mode_downlink) amr_mode_downlink, AVG (x.aq_mean_dl), MIN(x.aq_mean_dl),
MAX(x.aq_mean_dl), COUNT (x.aq_mean_dl)
SELECT DISTINCT mnc FROM (SELECT "mnc" FROM "Nemo"."LUS+" WHERE mnc IS NOT NULL
UNION SELECT "mnc"FROM "Nemo"."SEI+" x WHERE mnc IS NOT NULL)
SELECT "event_id","the_serving_system","the_serving_band","direction","time","s
ub_channel","rrc_message" AS "Message name","rrc_data" AS "Data" FROM "Nemo.UMTS
"."RRCS+" WHERE LOCATE('CELL_UPDATE',rrc_message,0) <> 0 AND ("direction" = 1 )
HEN [rrc_message] ELSE '' END AS [DL Message], "rrc_data", CAST(NULL AS TINYINT)
, "sql_time" AS "_exclude_order", rrc_message FROM "Nemo.LTE"."RRCS+"
ORDER BY "_exclude_order"
Correlate Parameters
CORRELATE LEFT_OUTER {CURR COLUMN(rx_level_sub) SELECT "time","rx_level_sub","a
rfcn","bsic","lac","gps_longitude","gps_latitude",OID_SHORT("the_event") AS "the
_event" FROM "Nemo.GSM"."RXL+" x WHERE "server"=1 {!correlate_hint}} {CURR COLU
MN(rx_quality_sub) SELECT "time","rx_quality_sub","gps_longitude","gps_latitude
" FROM "Nemo.GSM"."RXQ+" x {!correlate_hint}} {CURR SELECT "cell_identificatio
n","time","sql_time" AS "_exclude_order",TI_INTERVAL("time") AS "_exclude_order_
2","gps_longitude","gps_latitude" FROM "Nemo.GSM"."CHI+" a UNION ALL SELECT IFN
ULL(cell_identification, INTEGER_BTS_LOOKUP_2(1, gps_longitude, gps_latitude, th
e_serving_system, 'cell_identification', 1, time, 'channel_number', current_chan
nel_number, 'scrambling_code', current_scrambling_code, 'cell_identification', N
ULL, 'bsic', NULL, 'pilot_number', NULL)) "cell_identification","time","sql_time
" AS "_exclude_order",TI_INTERVAL("time") AS "_exclude_order_2","gps_longitude",
"gps_latitude" FROM "Nemo.UMTS"."CHI+" UNION ALL SELECT "cell_identification","
time","sql_time" AS "_exclude_order",TI_INTERVAL("time") AS "_exclude_order_2","
gps_longitude","gps_latitude" FROM "Nemo.GAN"."CHI+" a UNION ALL SELECT "cell_i
dentification","time","sql_time" AS "_exclude_order",TI_INTERVAL("time") AS "_ex
clude_order_2","gps_longitude","gps_latitude" FROM "Nemo.TD-SCDMA"."CHI+" a ORD
ER BY "_exclude_order", "_exclude_order_2" /*BTS()*/ {!correlate_hint}} {CURR CO
LUMN(aq_mean_dl) SELECT T_TI_2_T(aq_timestamp_dl,-audio_sample_duration_dl) AS
time,"aq_mean_dl","gps_longitude","gps_latitude" FROM "Nemo"."AQDL+" {!correlat
e_hint}}