希望你们一切都好 我有这样的问题。一个班的学生参加了考试。现在我想选择获得最高分数的前 3 名职位持有者。现在的情况是..如果有两个学生得100分,一个得99分,一个得98分,那么前3名有四个学生
Student1 = 100 marks at first position
Student2 = 100 marks at first position
Student3 = 99 marks at second position
Student4 = 98 marks at thirs position
我怎样才能让这四名学生获得前三个职位
Student1 = 100 marks (who is at first position)
Student2 = 100 marks (who is at first position)
Student3 = 99 marks (who is at second position)
while the student4 = 98 at third poistion is missing.
任何人都可以告诉我选择所有这些学生的正确查询吗?谢谢