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.
我有一个包含“id”“name”“city”的 table1 我想删除“city”中的所有文本,但只删除“id”17500 和 21000 之间的文本。
这是相当基本的 SQL。
UPDATE table1 SET city='' WHERE id BETWEEN 17500 AND 21000