sql update left

update Accounts 
       set functionpostid ='2AE52014-C9EB-4ECE-A514-156F30BA67CC'
from Accounts  a  
left join CommonFunctionPost b on a.functionpostid=b.c_id
where b.title='锦纶公司设备科科长'

 

posted @ 2022-01-13 16:24  一抹上扬的微笑  阅读(141)  评论(0)    收藏  举报