--合同--输出报表 select city_name as 地市名称, sid as 合同编码, sname as 合同名称, cbzx as 合同成本中心, idx_station_sid as 索引表局站ID, idx_hetong_sid as 索引表合同编码, stype as 合同校验 from sqmdb_cost.err_has_ht_no_station order by sort_id_city