题解 | #删除记录(一)#
删除记录(一)
https://www.nowcoder.com/practice/d331359c5ca04a3b87f06b97da42159c
delete from exam_record where timestampdiff(minute,start_time,submit_time)<5 and score < 60
一群老六,服了,都是复制粘贴人家的,讲错了timestampdiff函数的用法
timestampdiff(interval, time_start, time_end)可计算time_end-time_start的时间差,别把两个参数写反了