解析:
注意计算作答时间小于5分钟
函数:

  • timestampdiff(类型, 时间1, 时间2):计算时间1与时间2的差值

类型可以为:

  • year:年
  • month:月
  • day:日
  • week:周
  • hour:小时
  • minute:分钟
  • second:秒
delete 
    from exam_record
where 
    timestampdiff(minute,start_time,submit_time) < 5
and score < 60