题解 | #更新记录(一)#
更新记录(一)
https://www.nowcoder.com/practice/bfe8ad2bddc540fc911614aa648868b3
update examination_info set tag = "Python" where tag = "PYTHON"
本题考查update更新语句的用法
update table_name
set column1 = values1, column2 = values2......
where condition;
其中table_name为要更新的表的名称;
column为要更新的列名,values为是新的值,用于替换旧的值;
where condition为要限制的条件,根据实际情况决定写不写,非必须要写的内容
