示例
mysql> DESCRIBE SalesSummary;
+------------------+------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------------+------------------+------+-----+---------+-------+
| product_name | varchar(50) | NO | | NULL | |
| total_sales | decimal(12,2) | NO | | 0.00 | |
| avg_unit_price | decimal(7,2) | NO | | 0.00 | |
| total_units_sold | int(10) unsigned | NO | | 0 | |
+------------------+------------------+------+-----+---------+-------+
4 rows in set (0.00 sec)
登录后复制
上面的结果集有临时表“SalesSummary”的描述。
以上就是如何查看 MySQL 临时表的描述?的详细内容,更多请关注每日运维网(www.mryunwei.com)其它相关文章!