DELETE FROM LIM_STAGE.RESULTS A
WHERE ROWID > ( SELECT min(1)
FROM LIM_STAGE.RESULTS B
WHERE A.result_number = B.result_number );
This code returns error
Error
ORA-00932: inconsistent datatypes: expected ROWID got NUMBER
And I am not sure how to alter it to get the results needed.
It seems where I have the numeral 1 should be something else, but I cannot figure out how to actually establish the individual row numbers.
Appreciate help getting rid of these duplicate rows. This is a large table with many indexes, and triggers… hate to hae to rewrite everything.
Thank you for any help..
This should work: