查询Score表中的最高分的学生学号和课程号。

2024-12-18 05:16:36
推荐回答(4个)
回答1:

Select max(课程号) from score

回答2:

select top 1 sno,cno form scores order by degree desc

回答3:

SELECT * FROM SCORE WHERE DEGREE= (SELECT MAX(DEGREE) FROM SCORE)

回答4:

select sno,sco from score where max(score)