网站首页 博客 mysql查看表结构命令
简单命令
desc tablename;
详细命令
s.e.l.e.c.t * from information_schema.columns w.h.e.r.e table_schema = '数据库名' and table_name = '表名';