Contents

System/OS
2013.04.23 17:39

[sql] insert into select 사용하기

Views 27643 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
166 System/OS [linux] APM(apache, php, mysql) + gd 설치순서.. hooni 2003.04.23 18946
165 System/OS [mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리 hooni 2013.07.10 18905
164 System/OS [linux] 패킷의 소스 주소 바꾸기 hooni 2003.04.23 18868
163 System/OS [linux] CentOS 터미널 언어 설정(한글/영어) hooni 2013.12.22 18631
162 System/OS 해커스랩 깨기.. 후후.. ㅋㅋ file hooni 2013.04.23 18527
161 System/OS NAT와 DHCP에 대한 간단한 설명 hooni 2013.04.23 18407
160 System/OS [windows] 인터넷 익스플로러(IE) 도구모음 표시줄에 아이콘 추가 file hooni 2013.04.23 18291
159 System/OS [bios] 시스템 부팅 도중 발생하는 비프음 hooni 2003.04.23 18254
158 System/OS [windows] 종료, 재시작, 로그아웃 아이콘 만들기 hooni 2013.04.23 18209
157 System/OS [web] 웹서비스 취약점 자료.. (논문첨부) file hooni 2003.04.23 18063
156 System/OS [linux] 리눅스,유닉스 /proc/stat 파일 보는 법 hooni 2013.04.23 18029
155 System/OS [linux] 커널 컴파일, 설정 hooni 2003.04.23 17919
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 17 Next
/ 17