"UPDATE T_BuyDetails SET CommissionRatio =要更改的列名 FROM T_Users INNER JOIN T_BuyDetails ON T_Users.ID=T_BuyDetails.Id WHERE T_BuyDetails.Id =" + id //条件
只需要注意一下红色部位的写法就可以啦