我在我的 Oracle DB 中使用了以下查询:
UPDATE test5_rdf_memoization
SET object ='galib'
WHERE ( predicate='platform' AND
object IS NULL AND
subject IN ( SELECT subject
FROM test5_rdf_memoization t1,
test_parameters_new_5 t2,
test_parameter_detail t3
WHERE (t1.object = t2.id AND
t2.id = t3.parameter AND
t1.predicate = 'parameter' AND
t3.host_tool_detail = 1 AND
(t1.subject >= 624))
order by t1.subject) );
但它给了我以下错误
Error starting at line 1 in command:
UPDATE test5_rdf_memoization SET
object ='galib' WHERE ( predicate='platform' AND object IS NULL AND
subject IN ( SELECT subject FROM test5_rdf_memoization t1,
test_parameters_new_5 t2, test_parameter_detail t3 WHERE (t1.object =
t2.id AND t2.id = t3.parameter AND t1.predicate = 'parameter' AND
t3.host_tool_detail = 1 AND (t1.subject >= 624)) order by t1.subject)
)
Error at Command Line:2 Column:10 Error report: SQL Error:
ORA-00907: missing right parenthesis
00907. 00000 - "missing right parenthesis"
*Cause:
*Action:
我尝试过使用不同的括号组合,但它不起作用。有人可以帮我解决这个问题吗?