I'm reading a table from a Java app and now I wanted to split this task across two different apps each processing its own rows.
I tried to use this
Select * from emp where rownum between 0 and (Select count(*) from emp)/2;
I need your suggestion on the best way to read the next half of the table.
I tried
Select * from emp where rownum between ((Select count(*) from emp)/2)+1 and (Select count(*) from emp);
but it didn't give me results ( gave me a empty set of records )