mysql查看表结构命令,如下:desc 表名;show columns from 表名;describe 表名;show create table 表名;use information_schemaselect * from columns where ta
desc 表名;
show columns from 表名;
describe 表名;
show create table 表名;
use information_schema
select * from columns where table_name='表名';
顺便记下:
show databases;
use 数据库名;
show tables;
创建数据库
create database abc;
声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。