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.
我正在尝试运行查询以在列中的值等于的列中插入"/2/3/"值的开头。我知道基本的 MYSQL,但在构建这个时遇到了一些问题。因此,感谢任何帮助。"Value""attribute_id""703"
"/2/3/"
"Value"
"attribute_id"
"703"
UPDATE table SET value = '/2/3/' + value WHERE attribute_id = 703
(替换table为您的表的名称)
table
UPDATE table_name SET value=CONCAT('/2/3',value) WHERE attribute_id = 703 注意:将 table_name 替换为你的表名