원본테이블 (1) 썸네일형 리스트형 [ORACLE] SQL - 테이블 원본그대로 복사하기, column만 복사하기, 특정조건의 데이터만 복사하기 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 --원본테이블 복사하는 방법 create table emp1 as select * from employees; --만약 80번 부서만 복사하고 싶다면? create table emp2 as select * from employees where department_id = 80; --칼럼 이름만 복사해오고 싶다면? create table emp3 as select * from employees where 1=0; --특정 colum이름만 복사해오고 싶다면? create table emp4 as select employee_id, first_name, salary, hire_date from employees where 1=0;.. 이전 1 다음