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 @   zifeiy  阅读(9093)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示