[英]Update table values from another table in sql
我有一個臨時表 havinf 2 colums,我需要將此數據更新到另一個表中
有人可以幫我解決這個問題嗎
您想使用join
,如下所示:
update othertable t join
temporarytable tt
on t.clientid = tt.clientid
set t.checklist = tt.checklist;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.