数据库大神急解
1个回答
2014-04-10
展开全部
1:select S.SName,C.CName,SC.Grade from S,C,SC where S.SNo=SC.SNO and C.CNo = SC.CNo and C.TName ='李勇'
2:select S.SNO,SC.Grade from S,C,SC where S.SNo=SC.SNO and C.CNo = SC.CNo and SC.CName = '数据库技术' and SC.Grade < 60
3:select avg(SC.Grade) as '平均分' from C,SC where C.CNo = SC.CNo and C.CName = '高等数学'
4:select Dept,SName from S where Dept ='信息系'
5:select S.SNo from S,C,SC where S.SNo=SC.SNO and C.CNo = SC.CNo and C.CNo<>'C2'
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询