Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"delete from" with rownum >10

659812Sep 15 2008 — edited Sep 15 2008
Hello

How can I delete a certain range of rows with rownum >10 from a table "test"?

I tried:
delete from test where rownum in (select from (select rownum r from test) where r >10);*

0 rows deleted.

Thanks a lot.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2008
Added on Sep 15 2008
12 comments
16,575 views