题目配置统计分析

beetlsql3-dev
Mlxa0324 2 years ago
parent 035b072db5
commit 79146a80f0

@ -495,7 +495,7 @@ analysis
* 题目配置,统计分析接口
SELECT
ifnull( count( DISTINCT ( tb.resources_question_snapshot_id ) ), 0 ) AS question_total_count,
ifnull( count( DISTINCT ( ta.teacher_open_course_question_log_id ) ), 0 ) AS question_total_count,
ifnull( count( DISTINCT ( t.teacher_open_course_question_setting_id )), 0 ) AS total_setting_count,
round( avg( CASE WHEN ta.question_score = ta.student_score THEN 1 ELSE 0 END ), 2 ) AS avg_correct_count,
round( avg( CASE WHEN ta.question_score <> ta.student_score THEN 1 ELSE 0 END ), 2 ) AS avg_wrong_count,

Loading…
Cancel
Save