此查询的格式确定,调试时我看到更新的值但只显示此消息{"Invalid column name 'Mohannad' "}
,请帮助我
UPDATE Employee
SET Name =Mohannad
, Age=22
, GenderID =1
, CountryID=1
, Mobile=8765
FROM Employee
INNER JOIN Country ON Employee.CountryID = Country.CountryID
INNER JOIN Gender ON Employee.GenderID = Gender.GenderID
WHERE EmployeeID=1 ;
SELECT Employee.EmployeeID, Employee.Name, Employee.Age, Employee.GenderID, Gender.GenderName, Employee.CountryID, Country.CountryName, Employee.Mobile
FROM Employee
INNER JOIN Country ON Employee.CountryID = Country.CountryID
INNER JOIN Gender ON Employee.GenderID = Gender.GenderID