16_grid.sql 396 B

123456789101112131415161718
  1. --16、单站铁塔租赁费(月)
  2. ---网格
  3. select
  4. smonth as MONTH_ID,
  5. '网格' as ZB_TYPE,
  6. '河北' as PROV_NAME,
  7. city_code*100 as CITY_ID,
  8. city_name as CITY_NAME,
  9. grid_code as GRID_ID,
  10. grid_name as GRID_NAME,
  11. '16' as ZB_CODE,
  12. '单站铁塔租赁费(月)' as ZB_NAME,
  13. '否' as IS_RATIO,
  14. tower_cost as QZ_FZ,
  15. tower_num_avg as QZ_FM,
  16. tower_cost_avg as BY_QZ
  17. from sqmdb_cost.rpt_tower_cost_grid
  18. where smonth='202206'