我正在尝试处理此更新查询,请帮忙 它无法正常工作
UPDATE Country set Country.CountryName = 'Swizz'
from Country,Customers
where Customers.CustomerName='sameer'
答案 0 :(得分:1)
对于SQL Server而且有点整理
UPDATE C
set CountryName = 'Swizz'
from Country C
Inner join Customers x
on x.country_code = C.country_code --- missing component from OP
where x.CustomerName='sameer'