摘要: merge语法是根据源表对目标表进行匹配查询,匹配成功时更新,不成功时插入。 其基本语法规则是 merge into 目标表 a using 源表 b on(a.条件字段1=b.条件字段1 and a.条件字段2=b.条件字段2 ……) when matched then update set a. 阅读全文