Austin_zhai
Austin_zhai
全部
题解 | #删除记录(一)#
全部文章
分类
题解(18)
归档
标签
去牛客网
登录
/
注册
题解 | #删除记录(一)#
313 浏览
0 回复
2022-07-14
Austin_zhai
+关注
这里的记录有一条是时差在4分59,故不适合使用timediff进行精确判断,此处使用时间戳判断更为适合
delete from exam_record where timestampdiff(minute,start_time,submit_time)<5 and score<60;
Mysql
举报
收藏
赞
评论加载中...