首页 > 其他分享 >Update Join delete JOIN

Update Join delete JOIN

时间:2022-08-31 11:24:42浏览次数:42  
标签:Join UPDATE Update INNER JOIN ID

UPDATE INNER JOIN

UPDATE A SET Name='whq'
FROM TableA AS A
INNER JOIN TableB AS B ON A.ID=B.ID
WHERE A.ID<1000 AND B.Type=2 
DELETE INNER JOIN

DELETE A
 FROM TableA AS A
INNER JOIN TableB AS B ON A.ID=B.ID
WHERE A.ID<1000 AND B.Type=2

  

标签:Join,UPDATE,Update,INNER,JOIN,ID
From: https://www.cnblogs.com/wzf-Learning/p/16642337.html

相关文章