select date,
       site_id,
       cell_name,
       cell,
       sum(payload_mbyte)                                                         as payload_mbyte,
       avg(maximum_number_of_rrc_connection_user_unit)                            as avg_of_maximum_number_of_rrc_connection_user,
       min(ndp(num_dl_prb_utilization_percent, denum_dl_prb_utilization_percent)) as min_of_denum_dl_prb_utilization,
       avg(ndp(num_dl_prb_utilization_percent, denum_dl_prb_utilization_percent)) as avg_of_denum_dl_prb_utilization,
       max(ndp(num_dl_prb_utilization_percent, denum_dl_prb_utilization_percent)) as max_of_denum_dl_prb_utilization,
       sum(ndp(num_dl_prb_utilization_percent, denum_dl_prb_utilization_percent)) as sum_of_denum_dl_prb_utilization,
       sum(num_dl_prb_utilization_percent)                                        as num_dl_prb_utilization,
       sum(denum_dl_prb_utilization_percent)                                      as denum_dl_prb_utilization,
       min(ndp(num_ul_prb_utilization_percent, denum_ul_prb_utilization_percent)) as min_of_denum_ul_prb_utilization,
       avg(ndp(num_ul_prb_utilization_percent, denum_ul_prb_utilization_percent)) as avg_of_denum_ul_prb_utilization,
       max(ndp(num_ul_prb_utilization_percent, denum_ul_prb_utilization_percent)) as max_of_denum_ul_prb_utilization,
       sum(ndp(num_ul_prb_utilization_percent, denum_ul_prb_utilization_percent)) as sum_of_denum_ul_prb_utilization,
       sum(num_ul_prb_utilization_percent)                                        as num_ul_prb_utilization,
       sum(denum_ul_prb_utilization_percent)                                      as denum_ul_prb_utilization
from meas_4g_hourly m
         join network_cell n
              on m.network_cell_id = n.id
where date = date_int(1)
  and n.region = 'KALIMANTAN'
group by date,
         site_id,
         cell_name,
         cell
order by cell_name, date
;