update test1 a set a.name=(select b.name from test2 b where a.id=b.id) where a.id in (select id from test2);

 

相关文章:

  • 2021-09-25
  • 2021-11-26
  • 2021-12-25
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2021-08-20
  • 2021-08-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2021-06-02
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案