mysql 查看表的结构

来源:互联网 发布:js快速排序算法 编辑:程序博客网 时间:2024/05/16 08:47
1.desc 表名;


2.
show columns from 表名;

3.

describe 表名

4

show create table 表名;

5

use information_schemaselect * from columns where table_name='表名'



原创粉丝点击