a1exlism
9/24/2016 - 2:07 PM

MySQL查看表结构命令

MySQL查看表结构命令

MySQL查看表结构命令,如下:

desc 表名;

show columns from 表名;

describe 表名;

show create table 表名;

use information_schema

select * from columns where table_name='表名';