When I am executing
SELECT * FROM TABLE_NAME WHERE ROWNUM <= 20
MINUS
SELECT * FROM TABLE_NAME WHERE ROWNUM <= 10
I get expected result of SKIP
10 TAKE
10 (ten rows)
but if I specify columns explicitly
SELECT COL1, COL2, COL3 FROM TABLE_NAME WHERE ROWNUM <= 20
MINUS
SELECT COL1, COL2, COL3 FROM TABLE_NAME WHERE ROWNUM <= 10
I get single record back. (one row)
Why does this happen? How can I fix this?