我有一些sql语句:
SELECT *
FROM OSOBA o
LEFT JOIN DOKLAD d on d.ID_OSOBA = o.ID_OSOBA
WHERE o.AIFO like '2D5C%'
AND o.PLATNOST = 0
SELECT *
FROM OSOBA o
WHERE o.AIFO like '2D5C%'
AND o.PLATNOST = 0
FOR UPDATE OF o.ID_OSOBA
SELECT *
FROM OSOBA o
LEFT JOIN DOKLAD d on d.ID_OSOBA = o.ID_OSOBA
WHERE o.AIFO like '2D5C%'
AND o.PLATNOST = 0
FOR UPDATE OF o.ID_OSOBA
第一和第二个陈述都可以。但最后我得到了ora-00918。我不知道为什么。在FOR UPDATE我定义了表的前缀,请帮助