假设S(S#,SN,SEX,AGE,DEPT) 其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,检索所有比“李丽”年龄大的学生姓名和性别。SELECT语句是()
A.SELECT SN,SEX FROM S WHERE AGE>(SELECT AGE FROM S WHERE SN=“李丽”)
B.SELECT SN,SEX FROM S WHERE SN=“李丽”
C.SELECT SN,SEX FROM S WHERE AGE>(SELECT AGE WHERE SN=“李丽”)
D.SELECT SN,SEX FROM S WHERE AGE>李丽.AGE
答案不对?请尝试站内搜索