select * from 
(select rownum rn,a.* from a) 
where mod(rn,100)=0