创建MySql table

create table test
(
 id int(11) primary key not null auto_increment comment '主键id',
 user_account varchar(50) not null comment '评估人账号',
 telephont varchar(15) not null comment '电话',
 mobile varchar(15) not null comment '手机'
)
auto_increment=1;

 

 

 

auto_increment 设置是否自动排序

comment 设置描述

primary key 主键

not null 不能为空

你可能感兴趣的:(mysql,mobile)