用哪些命令可以查看MySQL数据库中的表结构?
MySQL查看表结构命令,如下:
desc 表名;
show columns from 表名;
describe 表名;
show create table 表名;
四种方式都可以,感觉回答的质量可以的话麻烦采纳一下哟~
desc表名;
show create table表名;
desc table_name show create table table_name\G