本题思路较前一题主要增加了对特定位置数据的删除,需进一步使用limit函数:
delete from exam_record 
where timestampdiff(minute,start_time,submit_time) < 5 or score is null
order by start_time asc limit 3