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

对于教学数据库的3个基本表:S(Sno,Sname,Ssex)、SC(Sno,Cno,Grade)、C(Cno,Cname,Teache),其中S表为学生表,SC为学生选课表,C为课程表,则对于语句:...

查看本题答案

你可能感兴趣的试题

SELECT Sname FROM S,SC,C WHERE S Sno=SC.Snn AND SC.Con=C.Con And Teacher='LTU' AND Seex='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 WHEPE SC.Sno=S. Sno AND EXISTS (SELECT* FROM C WHERE Teacher='LIU'))  SELECT Sname FROM S WHEPE Ssex='F' AND EXISTS(SELECT* FROM SC WHERE SC.Sno=S.Sno AND EXISTS (SELECT* FROM C WHERE C Cno=SC Cno AND Teacher='LIU'))  
SELECT Sname  FROM S,SC,C  WHERE S.Sno=SC.Sno AND SC.Cno=C.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 SC.Sno=S.Sno AND EXISTS  (SELECT*  
SELECT Sname  FROM S,SC,C  WHERE S.Sno=SC.Sno AND SC.Cno=C.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  WHFRF Teacher=’LIU’))  SELECT Sname  FROM S WHERE Ssex=’F’ AND EXISTS(SELECT*  FROM SC  WHERE SC.Sno=S.Sno AND EXISTS  
SELECT Sname  FROM S,SC,C  WHERE S.Sno=SC.Sno AND SC.Cno=C.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 SC.Sno=S.Sno AND EXISTS  (SELECT *  
SELECT Sname FROM S,SC,C WHERE S.Sno=SC.Sno AND SC.Cno=C.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 SC.Sno=S.Sno AND EXISTS (SELECT * FROM C WHERE Teacher=‘LIU’))  SELECT Sname FROM S WHERE Ssex=‘F’AND EXISTS( SELECT * FROM SC WHERE SC Sno=S Sno AND EXISTS (SELECT * FROM C WHERE C.Cno=SC.Cno AND Teacher=‘LIU’))  
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’))  

热门试题

更多