报表_3_单站租费.sql 627 B

1234567891011121314151617181920212223
  1. --3 µ¥Õ¾×âÁÞ·Ñ
  2. select
  3. city_name as city_name,
  4. grid_name as wg_name,
  5. tower_cost_avg_area as wg_tt_zlf,
  6. tower_cost_avg_city as bd_tt_zlf,
  7. tower_over_cost_city as bd_dwfd,
  8. tower_rn_city as bd_pm,
  9. tower_cost_avg_prov as qs_zlf,
  10. tower_over_cost_prov as qs_fd,
  11. tower_rn_prov as qs_pm,
  12. ht_avg_cost_grid as thr_wg_zlf,
  13. ht_avg_cost_city as thr_bd_zlf,
  14. ht_over_cost_city as thr_bd_dwfd,
  15. ht_rn_city as thr_bd_pm,
  16. ht_avg_cost_prov as thr_qs_zlf,
  17. ht_over_cost_prov as thr_qs_fd,
  18. ht_rn_prov as thr_qs_pm,
  19. city_code as city_id,
  20. smonth as month_id
  21. from sqmdb_cost.rpt_baobiao_3_dzzl
  22. where smonth='202205'
  23. order by sort_id_city,tower_rn_city