注意:此页面搜索的是所有试题
单选题,10分] 现有学生信息表Student_info,其中包括姓名(stu_name),学号(stu_id),成绩(stu_grade).我们需要查询成绩为80分的学生姓名,要求结果按照学号降序排列。 下面SQL查询语句正确的是
A.SELECT stu_id, stu_name FROM student_info WHERE stu_grade=80 ORDER BY stu_name ASC
B.SELECT stu_name FROM student_info WHERE stu_grade=80 ORDER BY stu_id DESC
C.SELECT stu_id, stu_name FROM student_info WHERE stu_grade=80 ORDER BY stu_name ASC
D.SELECT stu_name FROM student_info WHERE stu_grade LIKE 80 ORDER BY stu_id DESC
参考答案:B 您的答案:B

参考答案