Update DaryaftPardakht set DaryaftPardakht.saatSabt = (select b.SaatSabt + 1 from Bargeh b where b.Code = DaryaftPardakht.CodeBargehParent)