发布网友
共1个回答
热心网友
create
table
student(
id
int(5)
not
null
auto_increatment,
name
varchar(20)
not
null,
age
int(3)
not
null,
primary
key(id));/*建表时加入这句话就可以,id是自增长的字段名称,或者在客户端要建的字段的属性上勾选自增长
primary
key*/