order by student.stuno,willorder
--12、学号为“”的学生第一志愿报名选修“”这门课程,请在数据库中进行处理。 insert stucou
values ('00000025','001','1','报名',NULL)
--13、删除学号为“00000025”的学生的选课报名信息。 delete stucou
where stuno='00000025'
--14、将“多媒体”班级“杜晓静”同学的名字修改为“杜小静”。 update student set stuname='杜小静' from class,student
where class.classno=student.classno and classname='00多媒体' and
stuname='杜晓静'
--15、“电子商务”班的“林斌”同学申请将已选修的“网络信息检索原理与技术”课程修改为“Linux操作系统”。 update stucou set
couno=(select
couno
from
course
where
couname='Linux操作系统')
from course,stucou,student,class where course.couno=stucou.couno and student.classno=class.classno and stucou.stuno=student.stuno and
classname='00电子商务' and stuname='林斌' and couname='网络信息检索原理与技术'
相关推荐: