MySQL Table Information

show tables;                    --显示该数据库里的所有表
show columns from 表名;         --显示表字段
use information_schema
select * from columns where table_name='表名'; --显示表字段

posted on 2014-04-14 16:30  SuperSky  阅读(765)  评论(0编辑  收藏  举报