Contents

System/OS
2013.04.23 17:39

[sql] insert into select 사용하기

Views 27556 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
insert into 넣고싶은테이블면 (컬럼1, 컬럼2, 컬럼3)
select 컬럼1, 컬럼2, 컬럼3
from 가져오고싶은 테이블명
(추가로 where, and 등의 조건 구문 가능)

단, 위의 구문을 실행시키려면 반드시 가져오는 테이블, 넣고 싶은 테이블이 DB에 존재하여야 한다.

TAG •

?

List of Articles
No. Category Subject Author Date Views
154 System/OS [linux] yum 업데이트 시 커널 제외하기 hooni 2014.09.11 1268
153 System/OS [linux] resolv.con 초기화 되는 문제 hooni 2014.04.05 4626
152 System/OS [linux] CentOS 6.5 에서 "Bringing up interface eth0: Determining if ip address 121.78.127.197 is already in use for device eth0..." hooni 2014.04.05 4863
151 System/OS [mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기 file hooni 2014.03.12 5123
150 System/OS [mac] 맥OSX에서 NTFS 쓰기 기능 활성화 hooni 2014.03.12 4292
149 System/OS HTTPS와 SSL 인증서 file hooni 2014.03.11 7552
148 System/OS [linux] split 명령어 hooni 2014.03.11 4311
147 System/OS [linux] awk 명령어 hooni 2014.03.11 4961
146 System/OS [linux] 쉘스크립트 expr hooni 2014.03.11 15630
145 System/OS [linux] CentOS Apache Httpd에 https 적용 hooni 2014.03.05 4487
144 System/OS [linux] CentOS 6.x Cati 설치 (yum) hooni 2014.01.17 48596
143 System/OS [linux] iconv를 이용하여 euc-kr 문서를 utf-8로 대량으로 변환하기 file hooni 2014.01.09 12221
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 17 Next
/ 17