mysql create table

Create table
create table user(
id int primary key auto_increment,//Primary key auto increment
username varchar(20) not null,
password varchar(20) not null
);
add a row to the
table alter table user add column age varchar(30);
delete the table One row
alter table user drop column age;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326330858&siteId=291194637