01_b10.sql 424 B

123456789101112131415161718
  1. ---北10
  2. select
  3. smonth as MONTH_ID,
  4. '北10' as ZB_TYPE,
  5. sname as PROV_NAME,
  6. null as CITY_ID,
  7. null as CITY_NAME,
  8. null as GRID_ID,
  9. null as GRID_NAME,
  10. '1' as ZB_CODE,
  11. '网运成本占收比(集团口径)' as ZB_NAME,
  12. '是' as IS_RATIO,
  13. column6 as QZ_FZ,
  14. column14 as QZ_FM,
  15. column6/column14 as BY_QZ
  16. from sqmdb_cost.report50003
  17. where sname in('北京','天津','河北','山西','内蒙古','辽宁','吉林','黑龙江','山东','河南')
  18. and smonth='202207'