第三次作业

发布时间 2023-09-25 16:28:51作者: 朱瑞超

```

alter table curriculum drop 课程名称;

alter table grade modify 分数 decimal(5,2);

alter table student_info add 备注 varchar(50);

create database studb;

use studb;

create table stu
select * from studentsdb.student_info;

delete from stu where 学号='0004';

update stu set 家庭住址='滨江市新建路96号' where 学号='0002';

alter table stu drop 备注;

use studentsdb;

select 学号,姓名,出生日期 from student_info;

select 姓名,家庭住址 from student_info where 学号='0002';

select 姓名,出生日期 from student_info where  出生日期>='1995-01-01'and 性别='女';

```