select * from (select row_.*,rownum rownum_ from (select * from student c ) row_ where rownum<=24) where rownum_>12