select * from --对于带有行号的查询集合表给定下限
(select rownum rn,t.* --对查询集合表每行增加行号
from (
select * from b_t_casestatelog where pjid = ‘bbtest2‘ and actorphase = 2 and rownum < 300 order by testcaseid, logid) --排序查询你想要的数据,给定上限
t)
where rn > 200;
本文出自 “山坡小屋” 博客,请务必保留此出处http://happycool.blog.51cto.com/6045742/1376687
原文:http://happycool.blog.51cto.com/6045742/1376687