报表_1_载频能耗.sql 376 B

1234567891011121314151617
  1. --1 单载频载扇能耗
  2. ---网格报表
  3. select
  4. city_name as city_name,
  5. grid_name as wg_name,
  6. cost_grid as wg_dzpz_nh,
  7. cost_city as bd_dzpz_nh,
  8. cost_over_city as bd_dwfd,
  9. rn_city as bd_pm,
  10. cost_prov as qs_dzpz_nh,
  11. cost_over_prov as qs_fd,
  12. rn_prov as qs_pm,
  13. city_code as city_id,
  14. smonth as month_id
  15. from sqmdb_cost.rpt_baobiao_1_dzpz
  16. where smonth='202205'
  17. order by sort_id_city,rn_city