mysql 查看表结构

desc tablename;

show columns from tablename;

describe tablename;

show create table tablename;

use information_schema;
select * from columns where table_name='tablename';

posted @ 2013-11-05 17:36  hailπ  阅读(226)  评论(0编辑  收藏  举报