Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- pfsense
- miniconda
- freebsd
- application security
- macos
- Windows
- Kibana
- 한글가이드
- centos 8
- hardening
- endpoint security
- x-pack
- GitLab
- 보안양파
- elastic stack
- PlayBook
- docker
- 로그인불가
- XCP-ng
- Proxy
- ELASTIC
- Elasticsearch
- Kibana server is not ready yet
- proxycfg
- ansible
- xe guest utilities
- G-suite
- ssh key 배포
- bash
Archives
- Today
- Total
선 밖에 선 자유인
select 결과 다른 테이블에 저장 본문
특정 테이블의 내용을 select 한 결과를 다른 테이블에 추가 시
- tableA 조회 결과 => tableB
insert tableB (column1, column2, column3, column4) select * from tableA where columnA = <value>;
* 중복 제거 하면서 insert
INSERT INTO tableB
SELECT * FROM tableA WHERE <조건> and column2 NOT IN (SELECT column2 FROM tableB)
GROUP BY column1
Comments