SELECT TABLE_SCHEMA as `database`, table_name AS `table name`, table_type AS `type`, engine AS `engine`, VERSION AS `version`, TABLE_COLLATION AS `character set` FROM information_schema.tables where TABLE_SCHEMA = ' xxx ' and TABLE_COLLATION = ' xxx ' ORDER BY table_name DESC ;