数据库创建表结构


--只是建立ta表,与emp表结构相同,并不添加数据
create table ta as
select * from scott.emp
where 1=0;
--建立tb表,结构与dept结构相同,将dept表中的数据导入其中:
create table tb as
select * from scott.dept
where 1=1;
 

猜你喜欢

转载自blog.csdn.net/ryuqiu/article/details/83993900