merge into case_person_saxx t
using (select max(id) as id, app_id from case_xzcf group by app_id) s
on (t.app_id = s.app_id)
when matched then
  update set t.case_id = s.id;


  merge into invole_case_unit_saxx t
using (select max(id) as id, app_id from case_xzcf group by app_id) s
on (t.app_id = s.app_id)
when matched then
  update set t.case_id = s.id;

 

https://blog.csdn.net/u010402228/article/details/50155751

相关文章:

  • 2021-12-03
  • 2021-10-19
  • 2022-12-23
  • 2021-12-04
  • 2021-12-12
  • 2021-04-30
猜你喜欢
  • 2021-08-26
  • 2021-10-12
  • 2021-11-21
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案