0
我正在嘗試此查詢,但它在子查詢中輸出語法錯誤。當子查詢匹配時更新表
什麼問題和如何解決?感謝
UPDATE CompradorCategorias_new as A
SET A.idParent=(
SELECT idcategoria
FROM categoriasi18n_new
WHERE
(
SELECT SUBSTRING_INDEX(NomeComPath, '>', 2)
FROM CompradorCategorias_new
=
SELECT translationWithPath
FROM categoriasi18n_new
)
)
具體是什麼語法錯誤? –