题目内容:
S(S#,SN,SEX,AGE,DEPT)C(C#,CN)
SC(S#,C#,GRADE)
其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。检索所有比“王华”年龄大的学生姓名、年龄和性别。正确的SELECT语句是( ) A.SELECT SN,AGE,SEX FROM S WHERE AGE>(SEl,ECT AGE FROM S WHERE SN=’王华’)
B.SELECT SN,AGE,SEX FROM S WHERE SN=’王华’
C.SELECT SN,AGE,SEX FROM S WHERE AGE>(SEl,ECT AGE WHERE SN=’王华’)
D.SELECT SN,AGE,SEX FROM S WHERE AGE>王华AGE
参考答案:
答案解析: