select x.enamefrom (select a.ename,(select count(*)from emp bwhere b.ename <=a.ename) as rnfrom emp a) xwhere mod(x.rn,2) =1;