select b.* from 
(
  select a.*,rownum  as sortnum 
  from resumes A 
  where rownum<=60 
  order by a.resume_id desc
) b
where b.sortnum>=40
这样就可以了