方法 1、

         show create table table_name;可以用这个看表的代码。

         show create table Strings;

         MYSQL 查看表定义的 4 种方法

方法 2、

        show full columns from table_name;

        show full columns from Strings;

        MYSQL 查看表定义的 4 种方法

方法 3、

         show columns from table_name;

         show columns from Strings;

         MYSQL 查看表定义的 4 种方法

方法 4、

         describe table_name;

 

相关文章: