etc/SQL

join update

Jun's N 2022. 6. 24. 00:14
# join update
# table a as a 는 pandas as pd 와 같이 지정해주는 것

update table a as a	

inner join

table b as b on a.기준 칼럼 = b.기준 칼럼

set a.업데이트 칼럼 = b.업데이트 칼럼

where 조건;

 

728x90