﻿update bt set bt.TarikhBill = b.Tarikh
from Bargeh b
	inner join BargehTax bt on b.Mat_ID = bt.Mat_ID_Bargeh
where
	bt.TarikhBill = 0