SELECT *
FROM emp
WHERE (ROWID,0) IN (SELECT ROWID, MOD(ROWNUM,2)
FROM emp);
SELECT *
FROM emp
WHERE (ROWID,0) NOT IN (SELECT ROWID, MOD(ROWNUM,2)
FROM emp);
FROM emp
WHERE (ROWID,0) IN (SELECT ROWID, MOD(ROWNUM,2)
FROM emp);
SELECT *
FROM emp
WHERE (ROWID,0) NOT IN (SELECT ROWID, MOD(ROWNUM,2)
FROM emp);
No comments:
Post a Comment