rankpointsplayer_idquiz_id188140280340330341420141从以下查询中获取此输出:SELECTm.rank,m.scorerASpoints,m.player_idFROM(SELECTd.player_id,d.scorer,@rownum:=@rownum+1ASrankFROM(SELECTt.player_id,SUM(t.score)ASscorerFROManswerstJOINPROFILEONprofile.player_id=t.player_idJOINquizONt.quiz_id=quiz.idWHEREt.is_act