UPDATE Tabel1 t1 set t1.col1= 
( SELECT  col2  from Tabel2 t2 WHERE  t1.col1=t2.col2) 
where exists
( SELECT  col2  from Tabel2 t2 WHERE  t1.col1=t2.col2) 

更新Table1 和Table1 匹配的值 中 表Table1 中col1 列的值

相关文章:

  • 2022-02-14
  • 2022-01-28
  • 2022-01-19
  • 2021-04-07
  • 2021-12-21
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-21
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-06-13
相关资源
相似解决方案