update sj_so_sog a, (select * from sj_sosog where nyeon_wol='2019-03' and sosog!='_결재없음_') as b set a.so_sog = b.sosog where a.nyeon_wol='2019-03' and a.name = b.name;