I am attempting to delete from a table in Oracle within a PL/SQL block statement. However, when i do so like this:
delete from Table a
where rowid < (select max(rowid)
from Table b
where a.Number = b.Number AND a.Place = b.Place
);
(Where number is an integer and Place is a varchar and Table is a placeholder table name.)
I retrieve:
ORA-00928: missing SELECT keyword
I have seen only one question referring to this in a delete function and that is here. However, i struggled to fit this to my specification.
Any help would be appreciated. Thank you.