create,drop,alter
创建表
--拷贝已有的结构,不拷贝数据
--create table 表名 as select 字段列表 from 已有表 where 1!=1;
create table test2_emp as select empno,ename,sal from emp where 1!=1;
--拷贝已有的结构+拷贝数据
--create table 表名 as select 字段列表 from 已有表 where 行过滤条件;
create table test3_emp as select empno,ename,sal from emp where deptno=30;
create table haha(
id number(10)
);
删除表
drop table emp ;