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
- proxycfg
- Windows
- 로그인불가
- hardening
- bash
- endpoint security
- ansible
- 한글가이드
- freebsd
- macos
- ssh key 배포
- Kibana
- docker
- ELASTIC
- miniconda
- elastic stack
- 보안양파
- G-suite
- GitLab
- PlayBook
- xe guest utilities
- centos 8
- pfsense
- XCP-ng
- application security
- x-pack
- Kibana server is not ready yet
- Elasticsearch
- Proxy
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