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.
我一直在寻找许多谷歌结果和答案,但没有运气。
我需要使用 SQL 语句为特定作者的帖子删除和添加类别。
我从逻辑上假设我会做以下事情:
有人可以协助声明的语法吗?
谢谢。
而不是删除然后添加两个单独的步骤,更新功能将一步完成。
你需要做的只是
UPDATE Table1 SET category_ID = newID WHERE author_id = "14567"