当前位置:首页>教育 >内容

更新数据库表 UPDATE语句

2024-03-04 22:24:01教育漂亮的斑马

有关更新数据库表,UPDATE语句的知识,许多网友还不知道,今天六月小编刚好整理了分享给大家。 操作方法: 1 Update table name set

更新数据库表 UPDATE语句

有关更新数据库表,UPDATE语句的知识,许多网友还不知道,今天六月小编刚好整理了分享给大家。

操作方法:

1. Update table name set Row name=new value, where Row name=old name to update the table

2.EG: Update KH _ Informatize set KH _ Address=' M78' where KH _ Address=' Leo'

3. Perform successful use selection. SELECT * FROM KH _ informationize can also be queried directly if the query is successful, where KH_Address='M78'

4.更新几列:更新KH _ Informatize Set KH _ Address=' Leo 'KH_Name=' Leo '其中KH_ID=1500310112成功执行

5.执行重选查询并修改内容成功写入并修改

特别提示:

成功仅供参考。

以上知识分享到此为止,希望能够帮助到大家!

声明本站所有作品图文均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系我们

Top