UPDATE dbo.Sahmiyeh SET Saghf3 = Saghf2, 
                        Day_Mid2_3_Hfani =Day_Mid_Hfani, Night_Mid2_3_Hfani = Night_Mid_Hfani
                      
WHERE Sazman_Code NOT IN('02') AND ISNULL(Saghf3,0) = 0 AND ISNULL(Day_Mid2_3_Hfani,0) = 0

