PLSQL下复制表/将一张表插入另一张表中/连接两张表

来源:互联网 发布:耽美网络剧资源 编辑:程序博客网 时间:2024/05/20 06:40

1、PLSQL下复制表

create table T_DJ_NSRXX_bf as select * from T_DJ_NSRXX

2、将一张表插入另一张表中

方式一:insert into b select * from a方式二:insert into b (字段1,字段2) select 字段1,字段2  from a
3、连接两张表,包含所有字段结构
create table XX as select * from  t1,t2  where 1=0;

0 0
原创粉丝点击