mysql 把select結果保存爲臨時表,mysql中把查詢結果輸出到臨時表

mysql 把select結果保存爲臨時表,有2種方法 第一種,創建正式的表,此表可供你反覆查詢 drop table if exists a_temp; create table a_temp as select 表字段名稱 from 表名稱mysql 或者,創建臨時表,此表可供你當次連接的操做裏查詢. create temporary table 臨時表名稱 select 表字段名稱 from
相關文章
相關標籤/搜索