SQL 兩表關聯更新UPDATE (用一個表更新另一個表)
摘要:
方法一: update table1 set field1=table2.field1 from table2 where table1.id=table2.id --簡寫 update t1 set t1.c2 = t2.c2 from t2 where t1.c1 = t2.c1 方法二: up 閱讀全文
posted @ 2021-09-25 10:51 八度空間 閱讀(6321) 評論(0) 推薦(0)
浙公網安備 33010602011771號