show tables 命令格式
SHOW [FULL] TABLES
[{FROM | IN} db_name]
[LIKE 'pattern' | WHERE expr]
show databases 命令格式
SHOW {DATABASES | SCHEMAS}
[LIKE 'pattern' | WHERE expr]
show tables 命令对结果再次筛选
show tables where Tables_in_text like "test%"
或者
show tables like "test%"
show databases 命令对结果再次筛选
show databases like "test%";
或者
show databases where `Database` like 'test%'