參照表結構建立表

--只是創建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

相關文章
相關標籤/搜索