update table1 set period = (select b.period from (select period from table1 where name='234') b) where name='123';