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

删除记录(二)

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

本题思路较前一题主要增加了对特定位置数据的删除,需进一步使用limit函数:
delete from exam_record 
where timestampdiff(minute,start_time,submit_time) < 5 or score is null
order by start_time asc limit 3


全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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