0
Select name
from score, student
where student.student_id = score.student_id
and event_id = 1
and score.score = (select MAX(score) from score where event_id = 1)
我测试选择MAX(分数)from event where event_id = 1)的作品,但是当我尝试像这样使用它来查找名称时,它不能正常工作,它不称错误只是说0结果。 我想问如何使用这种方式或类似的方式获得价值?选择查询取决于最大功能
从得分选择的名字-----万一不能从学生或选择名称选择名称,并从学生 –
大家尽量选择什么名字查询得分则返回0的结果?你可以发布吗? –