SELECT studentid, sname, sex, birthday, classid
FROM student
ORDER BY birthday DESC;
此SQL查询从student
表中检索学生信息,并按出生日期(birthday
)降序排序。
SELECT studentid, sname, sex, birthday, classid
FROM student
ORDER BY birthday DESC;
此SQL查询从student
表中检索学生信息,并按出生日期(birthday
)降序排序。