|
|
|
|
181
|
mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
|
181
|
mq.complexity mcomplexity,cq.classavgscore,cq.gradeavgscore
|
182
|
from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
|
182
|
from e_paper_student_question sq left join t_question q on sq.questionid=q.questionid
|
183
|
left join t_question mq on q.questionpid=mq.questionid
|
183
|
left join t_question mq on q.questionpid=mq.questionid
|
184
|
- left join e_rclass_question cq on (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
|
|
|
|
|
184
|
+ left join e_rclass_question cq on sq.epid=cq.epid and sq.classid=cq.classid and (sq.questionid=cq.questionid or mq.questionid=cq.questionid)
|
185
|
left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
|
185
|
left join e_paper_qtype_question pq on sq.eptqid=pq.eptqid
|
186
|
where sq.epid=#{epid} and sq.studentid=#{studentid} GROUP BY sq.epsqid order by sq.qorder,q.sorder
|
186
|
where sq.epid=#{epid} and sq.studentid=#{studentid} GROUP BY sq.epsqid order by sq.qorder,q.sorder
|
187
|
</select>
|
187
|
</select>
|