1.临时表
当绘画结束时,临时表会自动销毁,无法用show tables 查看 临时表。
MariaDB [jason]> create temporary table tmp(pro char(30),city char(30)); Query OK, 0 rows affected (0.01 sec) MariaDB [jason]> insert into tmp values('shanghai','shanghai'); Query OK, 1 row affected (0.00 sec) MariaDB [jason]> select * from tmp; +----------+----------+ | pro | city | +----------+----------+ | shanghai | shanghai | +----------+----------+ 1 row in set (0.00 sec) MariaDB [jason]> drop table tmp; Query OK, 0 rows affected (0.01 sec)