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

删除记录(一)

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的时间差,别把两个参数写反了
全部评论

相关推荐

点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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