复制表(含数据): create table table_name2 as select * from table_name1
复制表(不含数据): create table table_name2 as select * from table_name1 where 1=2
只复制表数据:insert into table_name2 select * from table_name1
create table as select from和 insert into select from的用法
阅读 110
2023-03-09
复制表(含数据): create table table_name2 as select * from table_name1
复制表(不含数据): create table table_name2 as select * from table_name1 where 1=2
只复制表数据:insert into table_name2 select * from table_name1
相关推荐
精彩评论(0)