参照表结构建立表

--只是创建ta表,与emp表结构相同,并不添加数据web

--这种构造与现存表相同结构的表,是不会将comment带过来的
spa

create table ta as select from scott.emp where 1=0orm



--创建tb表,结构与dept结构相同,将dept表中的数据导入其中ci

--这种构造与现存表相同结构的表,是不会将comment带过来的it

create table tb as select from scott.dept where 1=1;table

相关文章
相关标签/搜索