
查询:
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 表名;


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




1609
709

被折叠的 条评论
为什么被折叠?