hushaojun

mysql查看表结构

show databases;
use 数据库名;
show tables;

 

desc 表名;
show columns from 表名;
describe 表名;
show create table 表名;
  这个最全显示的是创建结构

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2022-01-27
  • 2022-02-09
  • 2021-12-23
  • 2022-01-16
  • 2022-02-11
猜你喜欢
  • 2021-12-15
  • 2022-01-05
  • 2021-11-26
  • 2021-12-21
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案