sql 千万数据更新数据
The data stored in a table can be updated using the UPDATE
command:
可以使用UPDATE
命令来更新存储在表中的数据:
UPDATE people SET age=2 WHERE name='Roger'
It’s important to add the WHERE
clause, otherwise this instruction:
添加WHERE
子句很重要,否则此指令:
UPDATE people SET age=2
would update all rows in the table.
将更新表中的所有行。
sql 千万数据更新数据