1. 新增一个表,通过另一个表的结构和数据

create table tab1 as select * from tab2

2. 如果表存在:

insert into tab1 select * from tab2;

posted on 2016-08-03 17:31  miaoying  阅读(3662)  评论(0编辑  收藏  举报