select id, begin_time, end_time, score_report_path_team, team_name
from exam
where team_name = ?
order by begin_time desc limit 1