-- 復制student表到student_new表中包括結構和數據 CREATE TABLE student_new AS SELECT * from student -- 復制student表到student_new1只復制表結構 CREATE TABLE student_new1 as SELECT * FROM student WHERE 1=2; -- select into from :將查詢出來的數據整理到一張新表中保存,表結構與查詢結構一致 -- select *(查詢出來的結果) into newtable(新的表名) from where(后續條件) -- insert into select:為已經存在的表批量添加新數據 -- insert into (准備好的表) select *(或者取用自己想要的結構) from 表名 where 各種條件