摘要: 创建一个表new_table和old_table表结构一样(只复制表结构,没有old_table的记录)create table new_table as select * from old_table where 1=0;创建一个表new_table和old_table表结构一样(复制表结构和表的数据,有old_table的记录)create table new_table as select * from old_table;复制一个表到另一个表insert intonew_table select * from old_table;创建视图,删除视图create or replace v 阅读全文
posted @ 2014-02-07 10:32 Derek1208 阅读(1265) 评论(0) 推荐(0) 编辑