Contents

System/OS
2013.04.23 17:39

[sql] insert into select 사용하기

조회 수 27554 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
insert into 넣고싶은테이블면 (컬럼1, 컬럼2, 컬럼3)
select 컬럼1, 컬럼2, 컬럼3
from 가져오고싶은 테이블명
(추가로 where, and 등의 조건 구문 가능)

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

TAG •

?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
82 System/OS [linux] 패킷의 소스 주소 바꾸기 hooni 2003.04.23 18786
81 System/OS [linux] 프로그램 설치방법 (내공쌓기) hooni 2003.04.23 13433
80 System/OS [linux] 프로세스 상태확인(ps) hooni 2003.04.23 12703
79 System/OS [linux] 프로세스의 stat 상태에 대한 설명 hooni 2013.04.23 10758
78 System/OS [linux] 한글 URL 인식할 수 있게 아파치(Apache) 설정 (mod_url.c 설치) hooni 2013.04.23 13060
77 System/OS [macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’ file hooni 2022.06.01 786
76 System/OS [mac] Charlesproxy 간단한 설정 내용~ hooni 2013.11.12 12325
75 System/OS [mac] Homebrew/rvm/cocoapod setting hooni 2017.07.29 997
74 System/OS [mac] How to uninstall MySQL on Mac OS. hooni 2017.11.08 884
73 System/OS [mac] Mac OS 패키지 매니저, HomeBrew file hooni 2015.01.03 1314
72 System/OS [mac] Mac OS에서 재생되는 사운드를 녹음하는 방법 file hooni 2016.10.03 1442
71 System/OS [mac] Mac에서 Mac으로 원격제어하기 (맥에서 맥으로) file hooni 2013.10.08 36989
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 ... 17 Next
/ 17