Records can be fetched for both Odd and Even row numbers -
To display even numbers-.
Select studentId from (Select rowno, studentId from student) w here mod(rowno,2)=0
To display odd numbers-
Select studentId from (Select rowno, studentId from student) w here mod(rowno,2)=1