update联合查询后进行更新

select * from Customer join PubArea on Customer.AreaID=PubArea.AreaID


update Customer set REMARK='删除' from Customer join PubArea on Customer.AreaID=PubArea.AreaID
where PubArea.AreaName='天津'

posted @ 2020-06-23 17:16  咖啡无眠  阅读(1415)  评论(0编辑  收藏  举报