select * from (select t.*,rownum startPage from data_attr t where rownum<=(5*2) and sensor_id='CCD') where startPage>=(5*(2-1)+1)