"在Oracle中,以下是STUDENTS表的结构: SID NUMBER NOT NULL,Primary Key SNAME VARCHAR2(30) COURSE ID VARCHAR2(10) NOT NULL MARKS NUMBER你需要查询参加了课程ID为C10的考试,并且分数排在前10名的学生,以下 语句能够实现此功能。" ( )
A."SELECT SID,marks,ROWNUM ""Rank"" FORM studentsWHERE ROWNUM<=10 AND course id='C10' ORDER BY marks DESC;" B."SELECT SID,marks,ROWNUM""Rank"" FORM students WHERE ROWNUM<=10 AND course id='C10' ORDER BY marks;" C."SELECT SID,marks,ROWNUM""Rank"" FORM (SELECT SID ,marks FORM students正确答案D
WHERE ROWNUM<=10 AND course id='C10') ORDER BY marks DESC;" D."SELECT SID,marks,ROWNUM""Rank"" FORM (SELECT SID ,marks FORM students WHERE course id='C10' ORDER BY marks DESC) WHERE ROWNUM<=10;"