update table from

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_23145857/article/details/82740686

select  *   from  Park_UserCarNO  where  userID=9782

  update   Park_UserCarNO  set  parkCode=u.PropertyId  from      Park_UserCarNO  a   inner  join  t_User  u  on  a.userID=u.UserId  where  u.UserId=9782

猜你喜欢

转载自blog.csdn.net/qq_23145857/article/details/82740686