UPDATE dbo.Tbl_ScoreClub SET FactorDate = Tarikh, FactorGuid = Id FROM dbo.Tbl_ScoreClub
INNER JOIN headh ON Headh.Id_Havaleh = Tbl_ScoreClub.Id_Havaleh
WHERE FactorDate IS NULL
AND FactorGuid IS NULL