创建表
create table 表名(
字段名 类型 [ comment '注释'],
字段名 类型 [ comment '注释'],
字段名 类型 [ comment '注释']
)[comment '注释'];
查看表结构
desc 表名
查看创建表语句
show create table 表名;
创建表
create table 表名(
字段名 类型 [ comment '注释'],
字段名 类型 [ comment '注释'],
字段名 类型 [ comment '注释']
)[comment '注释'];
查看表结构
desc 表名
查看创建表语句
show create table 表名;