merge into语法

语法格式以下:date merge into 目标表 a using 源表 b on(a.条件字段1=b.条件字段1 and a.条件字段2=b.条件字段2 ……)   when matched then update set a.更新字段=b.字段 where  a.条件字段1=#{字段1}.... when  not macthed then insert into a(字段1,字段2……)v
相关文章
相关标签/搜索