我想选择一名员工并将他/她的工资提高 9.5% 并将更改保存在数据库中
查询如下..我在 SQL server 2008 中使用了两个相关的表 Employee_Tbl 和 Job_Tbl
SELECT Employee_Tbl.EmployeeID,
Employee_Tbl.Salary,(Employee_Tbl.Salary*5/100)+Employee_Tbl.Salary as
SalaryIncreaseByFivePercent
FROM Employee_Tbl INNER JOIN
Job_Tbl ON Employee_Tbl.JobTitle = Job_Tbl.JobTitle
我面临使用相同查询在数据库中保存额外列 SalaryIncreaseByFivePercent 的问题。有没有人可以告诉??