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;