Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
CREATE DATABASE test;//创建名为test的数据库
CREATE TABLE user(id int,username varchar(30),password varchar(60),email varchar(30),c_time int(10));
//创建user表并添加字段:id,username,password,email,c_time
INSERT INTO user (username,password,email,c_time) VALUES ('缘亦如此','123456','326280@qq.com','1629389260');
//在user表中添加一条数据,username值为缘亦如此,password值为123456,email值为326280@qq.com,c_time的时间戳为1629389260
INSERT INTO user (username,password,email,c_time) VALUES ('缘亦1','123456','3262801@qq.com','1629389250');
INSERT INTO user (username,password,email,c_time) VALUES ('缘亦2','123456','3262802@qq.com','1629389290');//在user表中总共添加3条数据
UPDATE user SET password="666666" where id = 1;
//将user表中id值为1的数据password值改为666666