목록etc/SQL (17)
Note
show processlist
show processlist;
etc/SQL
2022. 6. 29. 19:36
join update
# 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 조건;
etc/SQL
2022. 6. 24. 00:14
칼럼 내 데이터 수정
UPDATE 테이블 SET 칼럼 이름 = REPLACE(칼럼 이름, '기존값','대체할 값') where 조건;
etc/SQL
2022. 6. 23. 02:27
테이블 복사
insert into 복사할 테이블 select * from 기존 테이블 where 조건';
etc/SQL
2022. 6. 22. 21:15