实现功能:更改employee表中的name(xiaoli–>red)
(要是表很大的话,眼睛找再改会很麻烦,这样会快一点)
- 点击Query Design,再选Update
- 如下图编辑软件下方的表:
- ID=2为条件,更新为red
- 注意条件不能再选name为field,因为可能会重名,要选ID号这样唯一存在的
- 点击run就更新好了
参考:https://edu.51cto.com/center/course/lesson/index?id=26251
实现功能:更改employee表中的name(xiaoli–>red)
(要是表很大的话,眼睛找再改会很麻烦,这样会快一点)
参考:https://edu.51cto.com/center/course/lesson/index?id=26251