mysql 查看表结构

desc 表名;
show columns from 表名;


describe 表名;
show create table 表名;

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

 

posted @ 2015-11-26 14:10  cglworkBook  阅读(153)  评论(0编辑  收藏  举报