1.命令:show create table 表名
功能:获取建表语句
2.命令:desc 表名
功能:展示表字段及其类型
MySQL数据库相关命令
原文:http://www.cnblogs.com/sun-rain/p/5059421.html