题解 | #更新记录(二)#

更新记录(二)

https://www.nowcoder.com/practice/0c2e81c6b62e4a0f848fa7693291defc

update exam_record

set submit_time = '2099-01-01 00:00:00' ,

    score = 0

where start_time < '2021-09-01 00:00:00' # 2021年9月1日之前开始作答

    and score is null                    # 未完成记录

/*SQL*/;

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务