Oracle 从已知表同步数据
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)