我的 sql 查询
select *
from (
select *
from (
select b.course_code currentc
, b.pre_reqcoursecode prec
from (
select course_code
, pre_reqcoursecode
from adss_PreReqCourses
) a
join adss_PreReqCourses b
on a.course_code=b.course_code
where b.course_code='EE218'
) F
join adss_CoursesResult w
on F.prec=w.course_code
where w.GradePoint='B'
) J
join adss_CoursesResult I
on J.currentc=I.course_code
group by I.GradePoint
;
输出:
GradePoint Predicted
C+ 24628
C 22372
B- 18424
现在如何获得预测计数最高的成绩点?