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

学生关系模式为S(Sno,Sname,SD,Sage),其中:Sno表示学生学号,Sname表示学生姓名,SD表示学生所在系,Sage表示学生年龄。试将下面的SQL语句空缺部分补充完整,使其可以查询计...

查看本题答案

你可能感兴趣的试题

SD=计算机  SD=’计算机’  ’SD’=计算机  ’SD=计算机’  
SD=计算机  SD='计算机'  'SD'=计算机  'SD=计算机'  
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  
SD=计算机  SD=′计算机′  ′SD′=计算机  ′SD=计算机′  
INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,’小芳’,’18’,",",",")  INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,’小芳’,’18’,’女’,’计算机学院’,’北京’,’88661200’)  INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(,’小芳’,’18’,’F’,’计算机学院’,’北京’,’88661200’)  INSERT INTO Student(S_no,Shame,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,,’118’,’F’,’计算机学院’,’北京’,’88661200’)  
SD=’MS’  SD<>’MS’  ’SD’=MS  ’SD’<>MS  
INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,’小芳’,’18’,",",",")  INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,’小芳’,’18’,’女’,’计算机学院’,’北京’,’88661200’)  INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’小芳’,’18’,’F’,’计算机学院’,’北京’,’88661200’)  INSERT INTO Student(S_no,Sname,Sage,S_sex,SD_name,S_add,S_tel)  VALUES(’010456’,,’18’’F’,’计算机学院’,’北京’,’88661200’)  
SD=计算机  SD='算机',  'SD'=计算机  'SD=计算机'  
Sdept=’CS’  Sdept<>’CS’  ’Sdept’=CS  ’Sdept’<>CS  
SD=计算机  SD='计算机'  'SD'=计算机  'SD=计算机'  
SELECT Sname FROM S,SC,C WHERE Sno=SSno AND SCno=Cno AND Teacher=‘LIU’AND Ssex=‘F’  SELECT Sname FROM S WHERE Ssex=‘F’AND Sno IN (SELECT Sno FROM SC WHERE Cno IN(SELECT Cno FROM C WHERE Teacher=‘LIU’))  SELECT Sname FROM S WHERE Ssex=‘F’AND EXISTS (SELECT* FROM SC WHERE SSno=Sno AND EXISTS (SELECT* FROM C WHERE Teacher=‘LIU’))  SELECT Sname FROM S WHERE Ssex=‘F’AND EXISTS(SELECT* FROM SC WHERE SSno=Sno AND EXISTS (SELECT* FROM C WHERE Cno=SCno AND Teacher=‘LIU’))  
SD=’MS’  SD<>’MS’  ’SD’=MS  ’SD’<>MS  

热门试题

更多