查询某个数据库有多少表
select table_name from information_schema.tables where table_schema='库名';
查询某个数据库下某张表有哪些字段及字段类型
select column_name,column_type from information_schema.columns where table_schema='库名' and table_name='表名';
查询某个数据库有多少表
select table_name from information_schema.tables where table_schema='库名';
查询某个数据库下某张表有哪些字段及字段类型
select column_name,column_type from information_schema.columns where table_schema='库名' and table_name='表名';