SELECT한 데이터를 UPDATE 하기

조종태·2019년 5월 5일
0

sql

목록 보기
1/2
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;
profile
일주일 동안 일을 하면서 다음에 사용할 수 있는 내용을 정리합니다.

0개의 댓글