--默认排序的删除
delete UserInfo
where exists (select 1 from (select rownum rn,UserInfo.主键列 from UserInfo) t
where t.主键列=UserInfo.主键列 and t.rn between 5 and 10);
------解决方案-------------------- delete UserInfo where exists (select 1 from (select rownum rn,UserInfo.主键列 from UserInfo) t where t.主键列=UserInfo.主键列 and t.rn between 5 and 10);
------解决方案-------------------- 这个是正解啊
------解决方案-------------------- delete from UserInfo where rownum between 5 and 10; 你试一下,看对不?
------解决方案--------------------