hubcarl

 表一 App

 表二 Screenshot

下面语句的意思: 根据表Screenshot里面的外键AppId=App.Id 把 ScreenshotUrl值赋给App 表的Url

update App set Url=(select Screenshot.ScreenshotUrl from Screenshot where AppId=App.Id and Screenshot.No=0)

分类:

技术点:

相关文章:

  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
  • 2021-10-20
猜你喜欢
  • 2021-08-14
  • 2021-10-20
  • 2021-11-04
  • 2021-12-08
  • 2021-11-04
  • 2021-10-19
  • 2021-10-20
相关资源
相似解决方案