数据库考试题 求解3

来源:百度知道 编辑:UC知道 时间:2024/06/15 15:09:13
、假设学生选择数据库关系模式如下:
Student(SNo, SName, SAge, SDept);
Course(CNo, CName);
SC(SNo, CNo, Score)
用关系代数进行如下查询:
1. 学生王芳的“数据库原理”课成绩。

select Score where SName='王芳' and CName='数据库原理' 好像是这样,有段时间没整了,都还给老师了

select SC.Score from Student,Course,SC where student.SNo=SC.SNo and Course.CNo=SC.CNo and SName='王芳' and CName='数据库原理' ;