原文: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:数据库名称 */