Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MINUS Ignore Coulmn

MAliOct 23 2012 — edited Oct 23 2012
Hi All

Please help me solve this issue

select 1, rowid
from table a
minus
select 1, null
from table b

The rowid from first query should not be considered however I would need the value of this column.

Please suggest if there is a function where I could not consider a column in minus but get the value of the Ignored column
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2012
Added on Oct 23 2012
6 comments
2,984 views