创建表
create table user(
id int primary key auto_increment,//主键自增
username varchar(20) not null,
password varchar(20) not null
);
表 添加一行
alter table user add column age varchar(30);
表 删除一行
alter table user drop column age;
mysql创建表
猜你喜欢
转载自peihuiqing2017.iteye.com/blog/2360973
今日推荐
周排行