update query
This commit is contained in:
parent
3750287266
commit
808f701b13
|
|
@ -60,7 +60,7 @@ with master as (select m.date
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
join ref_site r on n.site_id = r.site_id
|
join ref_site r on n.site_id = r.site_id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
-- and n.site_id in ('AMB002')
|
-- and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ with master as (select m.date
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
join ref_site r on n.site_id = r.site_id
|
join ref_site r on n.site_id = r.site_id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
-- and n.site_id in ('AMB002')
|
-- and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ with master as (select m.date
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
join ref_site r on n.site_id = r.site_id
|
join ref_site r on n.site_id = r.site_id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
-- and n.site_id in ('AMB002')
|
-- and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ with master as (select m.date
|
||||||
from r11.meas_2g_daily m
|
from r11.meas_2g_daily m
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
and n.site_id in ('AMB002')
|
and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ with master as (select m.date
|
||||||
from r11.meas_4g_daily m
|
from r11.meas_4g_daily m
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
and n.site_id in ('AMB002')
|
and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ with master as (select m.date
|
||||||
from r11.meas_5g_daily m
|
from r11.meas_5g_daily m
|
||||||
join network_cell n on m.network_cell_id = n.id
|
join network_cell n on m.network_cell_id = n.id
|
||||||
|
|
||||||
where m.date between date_int(1) and date_int(1)
|
where m.date between '2023-12-01' and '2023-12-07'
|
||||||
-- and n.region = 'PUMA'
|
-- and n.region = 'PUMA'
|
||||||
-- and n.site_id in ('AMB002')
|
-- and n.site_id in ('AMB002')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ select datetime
|
||||||
, avg(rate_of_lost_detected_packet_1_div_10000) as rate_of_lost_detected_packet_1_div_10000
|
, avg(rate_of_lost_detected_packet_1_div_10000) as rate_of_lost_detected_packet_1_div_10000
|
||||||
from r11.pl_2g_hourly p
|
from r11.pl_2g_hourly p
|
||||||
join network_site n on p.network_site_id = n.id
|
join network_site n on p.network_site_id = n.id
|
||||||
where date between date_int(7) and date_int(1)
|
where date between '2023-12-01' and '2023-12-07'
|
||||||
group by datetime
|
group by datetime
|
||||||
, n.site_id
|
, n.site_id
|
||||||
order by n.site_id
|
order by n.site_id
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ select datetime
|
||||||
, avg(average_jitter_of_twamp_detecting_link_ms) as average_jitter_of_twamp_detecting_link_ms
|
, avg(average_jitter_of_twamp_detecting_link_ms) as average_jitter_of_twamp_detecting_link_ms
|
||||||
from r11.pl_4g_15min p
|
from r11.pl_4g_15min p
|
||||||
join network_site n on p.network_site_id = n.id
|
join network_site n on p.network_site_id = n.id
|
||||||
where date between date_int(7) and date_int(1)
|
where date between '2023-12-01' and '2023-12-07'
|
||||||
group by datetime
|
group by datetime
|
||||||
, n.site_id
|
, n.site_id
|
||||||
order by n.site_id
|
order by n.site_id
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
with datarange as (select date
|
with datarange as (select date
|
||||||
from w
|
from w
|
||||||
where date between date_from(to_week(date_int(7)))
|
where date between '2023-12-01' and '2023-12-07'),
|
||||||
and date_to(to_week(date_int(7)))),
|
|
||||||
master as (select '2G' as tech,
|
master as (select '2G' as tech,
|
||||||
raw.date as datetime,
|
raw.date as datetime,
|
||||||
ref.branch,
|
ref.branch,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue