select * into tablename1 from tablename2 where ...
当新建一张表并复制所有数据时,以上不能用于Oracle数据库
Oracle数据库时:
create table new_table as
select * from old_table
where 1 = 2
只复制表结构,用以上语句
create table new_table as
select * from old_table
复制表结构和数据,用以上语句