0
我需要您的支持here.I想要更改爲一個更新聲明,我想要從PersonDeatl與Birthage更新E.Age的所有空值。下面的腳本只是選擇.Table Employee和and PersonDeatl沒有鑰匙加入他們也沒有與EmpRet.Thanks球員從選擇更新腳本
select distinct * from ((Select
E.EmployeeId,E.Address,E.City,E.Zip,E.State,E.Age
from Employee E join
EmpRet R
on E.EmployeeId=R.EmployeeId
where R.Dscription='Age not Qualify' and E.Age is null)Ag inner join
(select address,city,zip,state,BirthAge from PersonDeatl)Pd
on ag.Address=Pd.Address and ag.City=Pd.City and ag.zip=Pd.Zip)