check_01_nenghao.sql 510 B

123456789101112131415161718
  1. --能耗--输出报表
  2. select
  3. smonth as 月份,
  4. build_code_short as 能耗系统_局站短ID,
  5. city_name as 能耗系统_地市,
  6. area_name as 能耗系统_区县,
  7. build_name as 能耗系统_局站名称,
  8. accrued_power as 能耗系统_电量,
  9. accrued_cost as 能耗系统_成本,
  10. idx_city_name as 索引表_地市,
  11. idx_nh_short_id as 索引表_局站短ID,
  12. idx_station_sid as 索引表_局站ID,
  13. idx_station_name as 索引表_局站名称,
  14. omc_station_sid as 网管能耗_局站ID,
  15. omc_nh_total as 网管能耗,
  16. stype as 问题分类
  17. from sqmdb_cost.err_has_nh_no_station
  18. order by sort_id_city