create table user1(usernc varchar(10) not null,
userid int not null auto_increment,
username int not null,
sex varchar(10) not null,
idcard int(10) not null,
userpwd varchar(20) not null,
primary key(userid)
)
insert into user1(usernc,username,sex,idcard,userpwd)values("xiao","56","女","123456","llabc123");
insert into user1(usernc,username,sex,idcard,userpwd)values("xiao","2","女","123456","llabc123");
create table user(usernc varchar(10) not null,
userid int not null auto_increment,
username int not null,
sex varchar(10) not null,
idcard int(10) not null,
userpwd varchar(20) not null,
primary key(userid)
)engine=INNODB auto_increment=316001;
insert into user(usernc,username,sex,idcard,userpwd)values("xiao","56","女","123456","llabc123");
insert into user(usernc,username,sex,idcard,userpwd)values("xiao","2","女","123456","llabc123");