查询库中表的索引
select TABLE_NAME, INDEX_NAME, GROUP_CONCAT(COLUMN_NAME) as INDEX_COLUMNfrominformation_schema.statisticswheretable_schema='库名'GROUP BY TABLE_NAME, INDEX_NAME;