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 备注;

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

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

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

浙公网安备 33010602011771号