题解 | #更新记录(一)#
更新记录(一)
https://www.nowcoder.com/practice/bfe8ad2bddc540fc911614aa648868b3
# update examination_info # set tag = 'Python' # where tag = 'PYTHON' update examination_info set tag = replace(tag, 'PYTHON', 'Python')
更新需要使用update和set关键字
update+表明,set+列名
方法一是使用where进行条件筛选
方法二是使用replace方法进行替换

