首页 > 数据库技术 > 详细

MySQL 查询数据库中的所有表

时间:2020-04-21 10:38:14      阅读:65      评论:0      收藏:0      [点我收藏+]

原文:https://www.cnblogs.com/BenWong/p/3996061.html


select
	table_name, table_type, `engine`
from information_schema.tables
where 1=1 
	and table_schema=‘wordpress1‘
	and table_type=‘base table‘;

/* engine:表的存储引擎,此字段关键字,需要添加`符号(就是键盘上ESC下面的那个键) */
/* table_schema:数据库名称 */

MySQL 查询数据库中的所有表

原文:https://www.cnblogs.com/guxingy/p/12742622.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!