题解 | #删除记录(二)#

删除记录(二)

http://www.nowcoder.com/practice/964c9f7fffbb4ab18b507cfed4111b4a

**空或者时间小于5 用到了 is null, timestampdiff **

delete from exam_record
where submit_time is null or timestampdiff(minute, start_time, submit_time) < 5 
order by start_time
limit 3
全部评论

相关推荐

03-25 19:43
湖北大学 C++
点赞 评论 收藏
分享
03-03 19:02
已编辑
东华理工大学 Node.js
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务