Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将 order_status 字段的值更改为 1 到 700 之间的所有 order_id 的 3 的 sql 语句是什么。
Mysql 数据库名称是 test_test
谢谢你的帮助。
update tablename set order_status = 3 where order_id between 1 and 700
这几乎与您问题中的单词相同。
USE test_test; UPDATE `order` SET order_status = 3 WHERE order_id BETWEEN 1 AND 700