I want to do exclude join if row has (same tool and same recipe)
when I run following code
select a.tool, a.recipe
from dual a
where a.tool NOT IN (select b.tool from daul2 b)
and a.recipe NOT IN (select b.recipe from dual2 b)
It, first, filters tool then recipe, but I wish the program check it at the same time.
Is there a way to check two column at the same time?
I’m not completely sure that I understand what you’re asking. My guess is that you want either
or
If that’s not what you want, could you post some sample data and explain what you are trying to exclude and include?