查询MYSQL数据库所有表名以及表注释
Select table_name 表名,TABLE_COMMENT 表注释 from INFORMATION_SCHEMA.TABLES Where table_schema = 'testa' ##数据库名
AND table_name LIKE 'testa'##表名
查询MYSQL数据库所有字段名以及字段注释
select column_name, column_comment from information_schema.columns
where table_schema ='www5-2017-05-18' and table_name = 'v1_department';