select exam_id, count(distinct uid) as uv, round(avg(score),1) as avg_scorefrom exam_recordwhere(uid,exam_id) in (select uid, e...