现有三个表即学生表S、课程表C和学生选课表SC,它们的结构如下:S(S#,SN,SEX,AGE,DEPT);C(C#,CN);SC(S#,C#,GRADE)。其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。检索所有比“王华”年龄大的学生姓名、年龄和性别。正确的SELECT语句是()
- ASELECT SN,AGE,SEX FROM SWHE RESN=“王华”
- BSELECT SN,AGE,SEX FROM SWHE REAGE>(SELECTAGEFROMSWHERESN=“王华”)
- CSELECT SN,AGE,SEX FROM SWHE REAGE>(SELECTAGEWHERESN=“王华”)
- DSELECT SN,AGE,SEX FROM SWHE REAGE>王华.AGE