mysql update 加条件
时间: 2023-10-13 18:04:09 浏览: 131
MySQL的UPDATE语句可以通过WHERE条件来限制更新的数据范围。在UPDATE语句中,可以使用table_references指定要更新的表,并使用assignment_list指定要更新的字段及其新值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [mysql update 语句 子查询(带条件)](https://blog.csdn.net/qq_17092163/article/details/122478706)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [MySQL 需要 添加where条件 才能进行update,delete操作](https://blog.csdn.net/oljuydfcg/article/details/90673803)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文