在表MySQL中获取元数据

Jan*_*ing -2 mysql metadata

我需要编写查询以获取特定表中的元数据,但我不知道该怎么做。我真的不知道该怎么办。

Fat*_*n P 6

使用以下查询获取表的元数据

select * from information_schema.tables
 where table_schema='your_database_name' and table_name='your_table_name';
Run Code Online (Sandbox Code Playgroud)

它将提供table_type,engine,version,row_format,table_rows,avg_row_length等