查询所有表名
select table_name from information_schema.tables where table_schema='数据库名称';
查询数据库表名的注释:
select table_name 表名,TABLE_COMMENT 表注释 from INFORMATION_SCHEMA.TABLES Where table_schema = '数据库名称' AND table_name ="表名"
查询所有表名
select table_name from information_schema.tables where table_schema='数据库名称';
查询数据库表名的注释:
select table_name 表名,TABLE_COMMENT 表注释 from INFORMATION_SCHEMA.TABLES Where table_schema = '数据库名称' AND table_name ="表名"