View information about tables in the database

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 ;

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325705931&siteId=291194637