delete from debug_log a where a.rowid in
(
select rowid from debug_log
minus
select rowid from debug_log where rownum <10000
)
保留10000条,如果有10000条记录的话
delete from debug_log a where a.rowid in
(
select rowid from debug_log
minus
select rowid from debug_log where rownum <10000
)
保留10000条,如果有10000条记录的话