
查询:
show tables ; //查询所有表名称
desc 表名称 ; //查询表结构
show create table 表名称; //查看创建表语句
create table 表名 ( 字段名1 字段类型1,字段名2 字段类型2) ; //创建表结构
示列:
1. show tables;
use 数据库名;
show tables ;

2.desc 表名;

3.show create table 表名称 ;

4.create table 表名;

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

show tables ; //查询所有表名称
desc 表名称 ; //查询表结构
show create table 表名称; //查看创建表语句
create table 表名 ( 字段名1 字段类型1,字段名2 字段类型2) ; //创建表结构
use 数据库名;
show tables ;



