当前位置: X题卡 > 所有题目 > 题目详情

设有一学生关系S(Sno,Shame,Age,Mno),其属性分别代表学生的学号、姓名、年龄和专业编号。则为查询其它专业中比计算机专业(专业编号为“CS”)所有学生年龄都小的学生姓名及年龄,可以...

查看本题答案

你可能感兴趣的试题

SELECT SNAME FROM S,SC,C WHERE S.SNO=SSNO AND SCNO=CNO AND CNAME=′DB′  SELECT SNAME FROM S WHERE SNO IN(SELECT SNO FROM SC,C WHERE SCNO=CNO AND CNAME=′DB′)  SELECT SNAME FROM S WHERE SNO IN(SELECT SNO FROM SC WHERE CNO IN(SELECT CNO FROM C WHERE CNAME=′DB′) )  SELECT SNAME FROM S,C WHERE CNAME=′DB′  
SELECT sname FROM student,SELECT cno,grade FROM sc WHERE studensno=ssno  SELECT sname,cno,grade FROM student,course WHERE studensno=courscno  SELECT sname,cname,grade FROM student,course,sc WHERE studensno=ssno and scno=course,cno  SELECT sname,cno,grade FROM student,sc WHERE studensno=ssno  
UPDATE SET sname='张明'WHERE sname='张岩'  UPDATE student SET shame='张明'WHERE shame='张岩'  UPDATE student SET sname='张岩'  UPDATE student SET sname='张岩'WHERE sname='张明'  
专业编号大于3的全体元组  专业编号大于3的第一个元组  专业编号大于年龄的全体元组  专业编号大于年龄的第一个元组  
Mno=’CS’  Mno≠’CS’  Mno<>’CS’  Mno IS NOT ’CS’  
SELECT * FROM student WHERE age BETWEEN 20 AND 22  SELECT sname, sno FROM student WHERE age BETWEEN 20 AND 22  SELECT sname,sno FROM student WHERE age>=20  SELECT shame,sno FROM student WHERE age<=22  

热门试题

更多