查询mysql数据库中所有的表和对应表中所有的字段
查询smp_db数据库中所有的数据表INFORMATION_SCHEMA.TABLES
select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='smp_db'
查询smp_db数据库中smp_import_db表所有的字段information_schema.`COLUMNS`
select COLUMN_NAME from information_schema.`COLUMNS` where TABLE_SCHEMA='smp_db' and TABLE_NAME='smp_import_db'