From 1a35bd0ea6d070607251d4f858ee7f2de3c19e57 Mon Sep 17 00:00:00 2001 From: Mlxa0324 Date: Thu, 23 Mar 2023 23:15:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E6=8E=92=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/sql/jlw/questionLogSummary.md | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/main/resources/sql/jlw/questionLogSummary.md b/web/src/main/resources/sql/jlw/questionLogSummary.md index ba476bd7..d7363ae4 100644 --- a/web/src/main/resources/sql/jlw/questionLogSummary.md +++ b/web/src/main/resources/sql/jlw/questionLogSummary.md @@ -108,6 +108,7 @@ queryByConditionQuery select @pageTag(){ @// 学生排名,单次试卷范围内的排名 + @// TODO mysql 8.0+ 支持 RANK() over ( PARTITION BY t.question_setting_type, t.question_log_summary_from_type, t.question_setting_id ORDER BY t.question_log_summary_student_total_score DESC ) AS student_rank, -- 学生排名,单次试卷范围内的排名 t.*, ta.student_name,