MySQL创建及删除临时表

示例SQL:

drop temporary table if exists testdb.tmp_test_table;
create temporary table testdb.tmp_test_table ( id integer, name varchar(20) );
insert into testdb.tmp_test_table values (1, 'zifeiy'), (2, 'balala');
drop temporary table testdb.tmp_test_table;
posted @ 2018-11-21 08:06  zifeiy  阅读(9092)  评论(0编辑  收藏  举报