0
点赞
收藏
分享

微信扫一扫

PGSQL插入或者更新的语法


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

 

举报

相关推荐

0 条评论