使用update更新修改数据库数据,更改的结果集是多条数据则为批量修改。语法格式如:update表格set列=更改值where筛选条件例:updatetableseta=1--将table中所以a列的值改为1updatetableseta=1whereb=2--将table中列b=2的记录中a列的值改为1