河南成教 / SQL Server数据库程序设计
正确率:100%
现有学生住处表Student_info,其中包括姓名(stu_name),学号(stu_id),成绩(stu_grade)。我们需要查询成绩为80分的学生姓名,要求结果按照学号降序排列。下面查询语句正确的是
A.SELECT stu_name FROM student_info WHERE stu_grade=80
ORDER BY stu_id DESC;
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;
ORDER BY stu_id DESC;
ORDER BY stu_id DESC;
ORDER BY stu_name ASC;
ORDER BY stu_id DESC;
参考答案:
佳题速递: