Excel提交后执行以下mergeinto函数的SQL语句 merge into table1 using (select t.idd ,max(t.val) m from table2 t group by t.idd)table2 on (table1.idd = table2.idd) when matched then update set table1.val = table2.m |
最佳回答 |
||||
0
|
|