kgdxpr 2 years ago
commit 1ca56053c9

@ -2,7 +2,7 @@
#sql("getPageSummary")
select t1.person_id,t2.person_name,sum(t1.score) as score,t2.start_time,t2.end_time from t_exam_record as t1
inner join t_exam_person as t2 on t1.person_id=t2.person_id
where t1.reply=t1.answer and t2.end_time is not null
where t1.reply=t1.answer and t2.end_time is not null and t1.b_use=1 and t2.b_use=1
group by t1.person_id,t2.person_name order by sum(t1.score) desc,timediff(t2.end_time,t2.start_time) asc
#end

Binary file not shown.
Loading…
Cancel
Save