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

更新记录(二)

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

update
    exam_record
set
    submit_time = '2099-01-01 00:00:00',
    score = 0
where
    date (start_time) < '2021-09-01'
    and submit_time is null

不要忽略了更新的条件 `submit_time is null`

全部评论

相关推荐

明天不下雨了:这个项目 这个简历 这个模板 莫不是一个开源的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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