insert into ads_oa_xxx_history (month, not_repair,avg_repair_tm)
一个查询语句
ON conflict(month) DO UPDATE
SET not_repair = excluded.not_repair,avg_repair_tm=excluded.avg_repair_tm
insert into ads_oa_xxx_history (month, not_repair,avg_repair_tm)
一个查询语句
ON conflict(month) DO UPDATE
SET not_repair = excluded.not_repair,avg_repair_tm=excluded.avg_repair_tm