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;

猜你喜欢

转载自www.cnblogs.com/zifeiy/p/9992930.html