merge into sm_classes sc
using (select * from ceibs_uv_embaclass) c
on(sc.id = c.id)
when matched then update
set sc.classname=c.classname,sc.groupname=c.group_name
when not matched then
insert (sc.id,sc.classname,sc.groupname)values (c.id,c.classname,c.group_name)

相关文章:

  • 2021-07-06
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2021-09-08
  • 2022-12-23
  • 2022-02-16
相关资源
相似解决方案