mysql 查看表结构

desc 表名;
show columns from 表名;


describe 表名;
show create table 表名;

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

原文地址:https://www.cnblogs.com/cglWorkBook/p/4997569.html